Skip to content

Commit

Permalink
OPS: fix publish
Browse files Browse the repository at this point in the history
Co-authored-by: Laszlo Hammerl <[email protected]>
  • Loading branch information
knagy and potato committed Jun 7, 2024
1 parent 3ef5e78 commit fd8a607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: npm test

- name: Publish
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') && matrix.node == '20'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISHER_TOKEN }}

0 comments on commit fd8a607

Please sign in to comment.