Repository navigation
ci: bump checkout and setup-node, verify a release on npm - #35
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Summary
Every CI and release run warned that
actions/checkoutandactions/setup-nodetarget Node.js 20 and are forced onto Node 24. This moves both to their current major, pinned by commit as before.Both files change:
ci.ymlandrelease.yml.What the newer majors change, checked against their release notes:
setup-nodev5 caches automatically whenpackage.jsonnames a package manager. Ours names none, and the jobs that install already ask forcache: npm.setup-nodev7 stops exporting a placeholderNODE_AUTH_TOKEN. The publish job signs in through trusted publishing and never used it.checkoutv7 refuses fork PR checkouts underpull_request_targetandworkflow_run. No workflow here uses either trigger.The publish job gets
package-manager-cache: false, because it has no checkout and nothing to cache.It also adds a
verifyjob at the end ofrelease.yml, which runs after a successful publish:The 0.12.0 release showed why. npm pointed
latestat 0.12.0 about four minutes before the version could be installed, andnpx cc-tapfailed in between. The job makes each release measure that window and fails if a published version does not install.docs/RELEASING.mdgains one step describing it.Evidence
ci.yml. Check its annotations for the Node 20 warning.npm viewon a version that does not exist exits 1, which is what the wait loop relies on.release.ymlas jobs. They only run for a release. I expect thealways-authwarning to go with the oldsetup-node, and the next release will show whether it did.Merge Danger
Door: two-way
Blast Radius: CI
A problem in the new actions would show as a red CI run on this PR. The publish job is the part this PR cannot test before the next release.