Skip to content

Commit

Permalink
try and fix this ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JairusSW committed Oct 5, 2024
1 parent f8b92a6 commit d94cf57
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Dev Release

on:
push:
branches:
- main
pull_request:
branches:
- '**'

jobs:
dev-release:
permissions: write-all
name: Dev Release
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: '22.8.0'

- name: Get package version
id: package-version
uses: martinbeentjes/[email protected]

- name: Install dependencies
run: npm install

- name: Build files
run: npm run build

- name: Build tarballs
run: npm run pack

- name: Create release
uses: softprops/action-gh-release@v1
with:
files: ./dist/*.tar.gz
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d94cf57

Please sign in to comment.