Skip to content

Commit

Permalink
fix: Tag pre-release npm publish CI command
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
  • Loading branch information
GordonSmith committed Feb 4, 2024
1 parent ae88cd4 commit 3785a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-publish.yml
Expand Up @@ -61,7 +61,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm publish
npm publish ${{ contains(github.ref, 'next') && '--tag next' || '' }}
- name: Purge jsdelivr
if: github.ref_type == 'tag'
Expand Down

0 comments on commit 3785a32

Please sign in to comment.