Skip to content

Commit 911192c

Browse files
mfassaieclaude
andcommitted
Switch publish to NPM_TOKEN auth (OIDC E404 workaround)
Trusted publishing OIDC signs provenance but npm rejects the publish with E404. Fall back to NPM_TOKEN automation token as a working alternative. Provenance flag kept for supply chain attestations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 38fbfa7 commit 911192c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ jobs:
5454
5555
- name: Publish to npm
5656
run: npm publish --provenance --access public
57+
env:
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)