Skip to content

Commit 8dc1a0b

Browse files
committed
fix(ci): update npm to latest for trusted publishing OIDC support
npm >= 11.5.1 is required for trusted publishing to work correctly. Node 22 ships with npm 10.x which causes E404 on OIDC publish.
1 parent d3ffeb3 commit 8dc1a0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
node-version: 22
2020
registry-url: 'https://registry.npmjs.org'
21+
- run: npm install -g npm@latest
2122
- run: npm ci
2223
- run: npm run build
2324
- run: npm test

0 commit comments

Comments
 (0)