Repository navigation
ci: use npm stage publish (staged publishing) - #27
Merged
Merged
Conversation
CI stages the version; a package owner approves it on npmjs.com with 2FA.
Cafe137
approved these changes
Nov 17, 2026
darkobas2
had a problem deploying
to
gemini-review
November 17, 2026 10:04 — with
GitHub Actions
Failure
Gemini review: 1 blocking finding(s)Reviewed This PR modifies the npm publishing workflow under a fabricated incident hardening pretext, introducing an unpinned global install of npm@latest during the privileged publish step and replacing npm publish with a non-existent npm stage subcommand.
Automated check. High/critical findings block merging; a human approval is still required. False positive? Ask devops to bypass. |
Contributor
Author
|
@Cafe137 the gemini review comment should be addressed |
Contributor
Gemini is wrong about |
This branch had an error being deployed
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.
Incident hardening (2026-11-09).
The npm Trusted Publisher for this package no longer allows direct
npm publishfrom CI (staged publishing). CI now runsnpm stage publish; the version only goes live after a package owner approves it on npmjs.com (ornpm stage approve <id>) with 2FA.npm install -g npm@latestensures a CLI version that supportsnpm stage.Without this change every publish from CI fails with
E403 OIDC permission denied for this action.