Skip to content

Commit

Permalink
fix: npmpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed May 2, 2024
1 parent 90758f9 commit 32dbdbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Expand Up @@ -34,11 +34,11 @@ jobs:
npm pack
- name: Publish @next
run: npm publish --access=public --tag next
if: github.event.release.prerelease
if: ${{ github.event.release.prerelease }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish @latest
run: npm publish --access=public --tag latest
if: !github.event.release.prerelease
if: ${{ !github.event.release.prerelease }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 32dbdbf

Please sign in to comment.