Skip to content

Commit 816f34b

Browse files
committed
ci: pin node version and upgrade npm for oidc trusted publishing
1 parent 827c15f commit 816f34b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ jobs:
4444
- name: Setup Node (for npm publish with OIDC)
4545
uses: actions/setup-node@v4
4646
with:
47-
node-version: "22"
47+
node-version: "22.14.0"
4848
registry-url: "https://registry.npmjs.org"
4949

50+
- name: Upgrade npm to latest (required for OIDC trusted publishing)
51+
run: npm install -g npm@latest
52+
5053
- name: Install dependencies
5154
run: bun install --frozen-lockfile
5255

0 commit comments

Comments
 (0)