| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
@semantic-release/npm gained support for npm trusted publishing (OIDC) in v12.0.2, which requires semantic-release >= 24. The previous pin of semantic-release@19.0.5 / @semantic-release/npm@9.0.1 hard-failed in verifyConditions with ENONPMTOKEN before npm ever got a chance to use the OIDC flow configured on the registry. This upgrade pulls in @semantic-release/npm@13 and @semantic-release/github@12 transitively, so the release workflow can finally authenticate via OIDC. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
🎉 This PR is included in version 4.3.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Closes #1025.
Follow-up to #1028. After granting id-token: write and dropping NPM_TOKEN, the release run still failed with ENONPMTOKEN: https://github.com/commitizen/cz-cli/actions/runs/27406345627/job/80996318512
Root cause: the repo was pinned to semantic-release@19.0.5, which pulls in @semantic-release/npm@9.0.1 (2022). That plugin version has no concept of npm trusted publishing — its verifyConditions step hard-requires NPM_TOKEN and exits before npm ever gets a chance to mint an OIDC credential.
Trusted publishing support was added in @semantic-release/npm@12.0.2 (Oct 2025), which requires semantic-release >= 24.
This bumps semantic-release to 25.0.5, which transitively pulls in:
No other plugin config changes were needed — the existing release block in package.json (preset: conventionalcommits) still works.
Notes
Test plan