Skip to content

Fixed: release run failing after staging because the summary step had no npm login - #2

Merged
PetromirDev merged 1 commit into
mainfrom
fix/release-summary-auth
Oct 6, 2026
Merged

PetromirDev merged 1 commit into
mainfrom
fix/release-summary-auth

Conversation

@PetromirDev

Copy link
Copy Markdown
Member

Every release run goes red after the package is staged on npm, even though staging worked and the version is waiting for approval (since v1.0.0). The run summary that should tell a maintainer what to approve never gets written. For example, the v1.0.1 run staged 1.0.1 and then failed. Now the run passes and its summary shows the stage id with the npm stage view and npm stage approve commands to run.

What we did

In a GitHub Actions run, only npm stage publish trades the run's OIDC token for an npm token. The summary step then ran npm stage list with no npm login, so the registry answered E401. This came in with aea0d6b, which moved releases to staging. The "Stage" step now runs npm stage publish --json and keeps the result, and the summary step reads stageId from it with jq instead of calling npm. The README now says the run summary gives the stage id and the approve commands.

@PetromirDev
PetromirDev marked this pull request as ready for review October 6, 2026 13:48
@PetromirDev
PetromirDev merged commit b41a69f into main Oct 6, 2026
3 checks passed
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