Skip to content

Commit 856adab

Browse files
committed
Only publish on Node 22.
1 parent a0db0d5 commit 856adab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: pnpm run ci
4444

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

0 commit comments

Comments
 (0)