Skip to content

Commit f69a8de

Browse files
cpaczekclaude
andcommitted
fix: remove registry-url from setup-node to allow OIDC auth
setup-node's registry-url writes an .npmrc that expects NODE_AUTH_TOKEN, which overrides the OIDC-based trusted publishing. Remove it and set the registry via npm config instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b46a6b3 commit f69a8de

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
with:
2424
node-version: 20
2525
cache: pnpm
26-
registry-url: https://registry.npmjs.org
26+
27+
- name: Configure npm registry
28+
run: npm config set registry https://registry.npmjs.org/
2729

2830
- name: Install dependencies
2931
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)