Skip to content

ci: use OIDC-capable npm for releases#1156

Merged
ericcrosson-bitgo merged 4 commits into
masterfrom
AI-744-ci-use-oidc-capable-npm-for-releases
Jul 21, 2026
Merged

ci: use OIDC-capable npm for releases#1156
ericcrosson-bitgo merged 4 commits into
masterfrom
AI-744-ci-use-oidc-capable-npm-for-releases

Conversation

@ericcrosson-bitgo

Copy link
Copy Markdown
Contributor

@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

@ericcrosson-bitgo
ericcrosson-bitgo marked this pull request as ready for review July 21, 2026 19:15
@ericcrosson-bitgo
ericcrosson-bitgo requested a review from a team as a code owner July 21, 2026 19:15
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

AI-744

shenbenson
shenbenson previously approved these changes Jul 21, 2026
@ericcrosson-bitgo
ericcrosson-bitgo force-pushed the AI-744-ci-use-oidc-capable-npm-for-releases branch from 3fc5ff4 to 4183889 Compare July 21, 2026 19:27
@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
ericcrosson-bitgo force-pushed the AI-744-ci-use-oidc-capable-npm-for-releases branch from 4183889 to 070e9bf Compare July 21, 2026 19:39
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
@ericcrosson-bitgo
ericcrosson-bitgo merged commit 03ac086 into master Jul 21, 2026
6 checks passed
@ericcrosson-bitgo
ericcrosson-bitgo deleted the AI-744-ci-use-oidc-capable-npm-for-releases branch July 21, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants