Skip to content

Commit

Permalink
try to fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Nov 18, 2024
1 parent 4756138 commit 77c27d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
# ensure that a publication only occurs when a new release is created:
if: ${{ steps.release.outputs.releases_created }}
- uses: oven-sh/setup-bun@v2
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/cache@v3
with:
path: node_modules
Expand All @@ -33,6 +34,11 @@ jobs:
- name: Build package
run: bun run build
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/setup-node@v3
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.releases_created }}
- name: Publish package to npm
run: npm publish
env:
Expand Down

0 comments on commit 77c27d2

Please sign in to comment.