Skip to content

Commit 29d04c6

Browse files
Fix publish: upgrade npm CLI for Trusted Publishing OIDC support
1 parent a4a262a commit 29d04c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
with:
1818
node-version: 22
1919
cache: npm
20-
- run: npm config set registry https://registry.npmjs.org/
20+
registry-url: https://registry.npmjs.org
21+
- run: npm install -g npm@latest
2122
- run: npm ci
2223
- run: npm run lint
2324
- run: npm test

0 commit comments

Comments
 (0)