Commit 9d92458
ci: drop NPM_TOKEN and registry-url from publish.yml
Same fix that just landed in seo-graph's release.yml. With
registry-url set, actions/setup-node writes a .npmrc file
referencing ${NODE_AUTH_TOKEN} and injects a placeholder, which
npm publish then tries to use instead of OIDC trusted publishing.
And the NODE_AUTH_TOKEN env mapping from NPM_TOKEN explicitly
shadows OIDC too.
@jdevalk/emdash-plugin-seo already has trusted publishing
configured on npmjs.com for this repo + publish.yml, so
authentication flows through the GitHub Actions OIDC token once
the token paths are out of the way. id-token: write was already
set at the job level.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f5ffe12 commit 9d92458
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | | - | |
22 | | - | |
| |||
0 commit comments