This repository was archived by the owner on Jun 16, 2026. It is now read-only.
Commit 42153c5
ci: switch npm publish to OIDC trusted publishing
This repo's release.yml authenticated npm publish via NODE_AUTH_TOKEN wired to the
NPM_TOKEN secret. That pattern failed in prod on 2026-06-02 when
@mcptoolshop/backprop-trace's NPM_TOKEN expired (npm masks an expired token as E404,
not 403). Switch to npm Trusted Publishing (OIDC), matching the proven backprop-trace
fix: remove NODE_AUTH_TOKEN/NPM_TOKEN from the publish step; add npm install -g
npm@latest (OIDC needs npm >= 11.5.1; Node 22 ships 10.9.x); keep id-token: write and
npm publish --provenance --access public.
Inert until a Trusted Publisher is configured on npmjs.com for @mcptoolshop/ai-loadout bound to
ai-loadout / release.yml. The NPM_TOKEN secret is intentionally retained as a revert
path until the first OIDC release is confirmed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1f47527 commit 42153c5
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
| 71 | + | |
66 | 72 | | |
67 | | - | |
68 | | - | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
0 commit comments