Skip to content

Commit 9ce3109

Browse files
committed
fix(ci): unset NODE_AUTH_TOKEN so npm uses OIDC trusted publishing
1 parent 2904ec3 commit 9ce3109

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
run: npm run build
4646

4747
- name: Publish to npm
48-
run: npm publish --access public --provenance
49-
env:
50-
NODE_AUTH_TOKEN: "" # clear setup-node's auto-injected github.token so npm uses OIDC trusted publishing
48+
run: |
49+
unset NODE_AUTH_TOKEN
50+
npm publish --access public --provenance
5151
5252
publish-mcp-registry:
5353
name: Publish to MCP Registry

0 commit comments

Comments
 (0)