Skip to content

Commit

Permalink
Only publish on Node 22.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Aug 31, 2024
1 parent a0db0d5 commit 856adab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: pnpm run ci

- name: Publish to npm if needed
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && matrix.node == '22'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish -r --no-git-checks --dry-run

0 comments on commit 856adab

Please sign in to comment.