Skip to content

fix: pin npm 11.6.2 for OIDC publish#44

Merged
robinandeer merged 1 commit into
mainfrom
fix/npm-oidc-cli-version
Jul 6, 2026
Merged

fix: pin npm 11.6.2 for OIDC publish#44
robinandeer merged 1 commit into
mainfrom
fix/npm-oidc-cli-version

Conversation

@robinandeer

Copy link
Copy Markdown
Collaborator

Why

OIDC publish on main fails with ENEEDAUTH — tarball builds but npm never exchanges the GitHub OIDC token. Same root cause as sdk-node: bundled npm is too old for trusted publishing.

How it works

Install npm@11.6.2 to .npm-oidc/ (sdk-node pattern) and use that binary for npm publish --provenance.

Verify

  • Trusted publisher on both @runwayml/avatars and @runwayml/avatars-react
  • Merge → re-run Publish workflow on main

Bundled npm on the runner does not exchange GitHub OIDC tokens; match sdk-node by pinning npm@11.6.2 for publish steps.
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
avatars-playground Ready Ready Preview, Comment Jul 6, 2026 6:13pm

Request Review

@robinandeer robinandeer merged commit 152dd68 into main Jul 6, 2026
6 checks passed
@robinandeer robinandeer deleted the fix/npm-oidc-cli-version branch July 6, 2026 18:28
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.

1 participant