Commit 6f7391b
committed
ci(release): publish to npm via OIDC trusted publishing
Node 24 bundles npm 11.17.0, which clears the npm >= 11.5.1 floor that
previously made trusted publishing unavailable, so the long-lived NPM_TOKEN
is no longer needed.
pnpm publish shells out to the ambient npm, and npm's OIDC exchange
overwrites the registry _authToken it resolves from .npmrc, so no other
change to the publish step is required.
Requires a trusted publisher (this repo, release.yml) to be registered on
npmjs.com for every published package before the next tag, since the token
exchange is per package name.1 parent ea29e49 commit 6f7391b
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
0 commit comments