Skip to content

Commit 573cf9c

Browse files
committed
Fix publish: upgrade npm for trusted publishing support
Node 22 ships with npm 10.x which does not support OIDC trusted publishing. npm >= 11.5.1 is required. Also removed registry-url from setup-node since npm 11.5.1+ handles the registry and OIDC exchange natively.
1 parent 267ea9b commit 573cf9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: 22
1919
cache: npm
20-
registry-url: "https://registry.npmjs.org"
20+
- run: npm install -g npm@latest
2121
- run: npm ci
2222
- run: npx playwright install chromium --with-deps
2323
- run: npm run lint

0 commit comments

Comments
 (0)