Skip to content

Commit

Permalink
Only publish from one CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Nov 28, 2024
1 parent 22aa143 commit a69e499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
cd .. && pnpm test
- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ startsWith(github.ref, 'refs/tags/v') && matrix.node == 'latest' }}
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a69e499

Please sign in to comment.