Skip to content

Commit 95499ab

Browse files
dickhardtclaude
andcommitted
fix npm trusted publishing: remove registry-url, upgrade npm for OIDC
actions/setup-node with registry-url writes .npmrc expecting NODE_AUTH_TOKEN, which conflicts with OIDC trusted publishing. Upgrade npm to latest (>=11.5.1) for OIDC support on Node 22. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cc025f5 commit 95499ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
node-version: 22
4343
cache: 'npm'
44-
registry-url: 'https://registry.npmjs.org'
44+
- run: npm install -g npm@latest
4545
- run: npm ci
4646
- run: npm publish --provenance --access public
4747

0 commit comments

Comments
 (0)