Skip to content

Commit 2904ec3

Browse files
committed
fix(ci): clear NODE_AUTH_TOKEN so npm publish uses OIDC trusted publishing
1 parent fddc764 commit 2904ec3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646

4747
- name: Publish to npm
4848
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
4951

5052
publish-mcp-registry:
5153
name: Publish to MCP Registry

0 commit comments

Comments
 (0)