Skip to content

Commit 98422a7

Browse files
ci: use the correct npm version for releases (#11424)
Trusted publishing requires the installed npm to be at least 11.5.1. We get this automatically via Node 24.
1 parent 1322df2 commit 98422a7

File tree

4 files changed

+261
-44
lines changed

4 files changed

+261
-44
lines changed

.github/workflows/changesets.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
- name: Install Dependencies
2222
uses: ./.github/actions/install-dependencies
2323
with:
24+
node-version: 24
2425
turbo-api: ${{ secrets.TURBO_API }}
2526
turbo-team: ${{ secrets.TURBO_TEAM }}
2627
turbo-token: ${{ secrets.TURBO_TOKEN }}
2728
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
2829

30+
- name: Check npm version
31+
run: node -r esbuild-register tools/deployments/check-npm-version.ts
32+
2933
- name: Check the changesets
3034
run: node -r esbuild-register tools/deployments/validate-changesets.ts
3135

0 commit comments

Comments
 (0)