Repository navigation
ci: actions v7; docs: trusted publisher valid, 0.0.0-stage placeholder - #2
Merged
Merged
Conversation
v4 of both actions runs on Node.js 20, which GitHub Actions flags as deprecated on every run. v5 runs on Node 24 and keeps the inputs used here (node-version, registry-url). setup-node v5's automatic caching only applies with a packageManager field in package.json, which this package does not have, so behavior is unchanged.
Latest majors of both. Inputs used here (node-version, registry-url) are unchanged. setup-node v7 no longer exports a dummy NODE_AUTH_TOKEN; Trusted Publishing does not use it, and npm 11 reads the generated .npmrc with the variable unset. Automatic caching (npm only since v6) still needs a packageManager field, which package.json does not have.
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.
What
actions/checkoutandactions/setup-nodefrom v4 to v7 inci.ymlandpublish.yml, removing the "Node.js 20 is deprecated" warning seen in the v0.1.1-beta.0 run. Inputs used here (node-version,registry-url) are unchanged; setup-node v7 dropping the dummyNODE_AUTH_TOKENdoes not affect Trusted Publishing, which uses no token.0.0.0-stageplaceholder npm created on the first publish and how to remove it.Verified
npm run typecheckclean;npm test150/150.No release needed: workflows and RELEASING.md are not part of the published package.