Skip to content

Commit 38579d4

Browse files
committed
fix(ci): remove registry-url so npm uses OIDC trusted publishing for auth
1 parent 9ce3109 commit 38579d4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2222
with:
2323
node-version: '20'
24-
registry-url: 'https://registry.npmjs.org/'
2524

2625
- name: Verify npm provenance support
2726
run: |
@@ -45,9 +44,7 @@ jobs:
4544
run: npm run build
4645

4746
- name: Publish to npm
48-
run: |
49-
unset NODE_AUTH_TOKEN
50-
npm publish --access public --provenance
47+
run: npm publish --access public --provenance
5148

5249
publish-mcp-registry:
5350
name: Publish to MCP Registry

0 commit comments

Comments
 (0)