Commit a9e8f77
ci(publish): migrate npm publish to OIDC trusted publishing
Drops the legacy publish token. npm trusted publisher trust is
now registered on npmjs.com (Sharp-API/sharpapi-ts → publish.yml),
which lets `npm publish --provenance` pick up the GitHub OIDC token
automatically without any env token configured.
Matches sharpapi-python's PyPI trusted-publishing setup (no long-
lived secret there either). --provenance still emits the SLSA
attestation on each published version.
The workflow already had `id-token: write` and `--provenance` from
the release gating pass, so this commit just removes the
NODE_AUTH_TOKEN env block.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b1a24ec commit a9e8f77
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | | - | |
59 | | - | |
| |||
0 commit comments