ci: use OIDC-capable npm for releases#1156
Merged
ericcrosson-bitgo merged 4 commits intoJul 21, 2026
Merged
Conversation
ericcrosson-bitgo
marked this pull request as ready for review
July 21, 2026 19:15
ericcrosson-bitgo
enabled auto-merge
July 21, 2026 19:15
shenbenson
previously approved these changes
Jul 21, 2026
ericcrosson-bitgo
force-pushed
the
AI-744-ci-use-oidc-capable-npm-for-releases
branch
from
July 21, 2026 19:27
3fc5ff4 to
4183889
Compare
@semantic-release/npm 12 resolves npm 10 through its preferLocal publish subprocess, bypassing the npm 11 installed by setup-node. Upgrade the plugin so npm publish can exchange GitHub OIDC credentials. Ticket: AI-744
The patch targeted @semantic-release/npm 12's npm whoami flow. Version 13 verifies trusted publishing through OIDC before token authentication, so the workaround no longer runs and blocks clean dependency installs. Ticket: AI-745
ericcrosson-bitgo
force-pushed
the
AI-744-ci-use-oidc-capable-npm-for-releases
branch
from
July 21, 2026 19:39
4183889 to
070e9bf
Compare
Node.js 22 bundles npm 10, which rejects the npm 11-generated lockfile because it omits transitive optional peer entries. Keep the job disabled until lts/-1 bundles npm 11 or newer. Ticket: AI-744
Branch protection requires the Node.js lts/-1 status. Keep the matrix entry as a documented no-op until lts/-1 bundles npm 11 or newer. Ticket: AI-744
shenbenson
approved these changes
Jul 21, 2026
ericcrosson-bitgo
deleted the
AI-744-ci-use-oidc-capable-npm-for-releases
branch
July 21, 2026 20:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@semantic-release/npm 12 resolves npm 10 through its preferLocal publish subprocess, bypassing the npm 11 installed by setup-node. Upgrade the plugin so npm publish can exchange GitHub OIDC credentials.
Ticket: AI-744