ci: opt JS actions onto Node 24 ahead of 2026-06-02 forced-default#146
Merged
Conversation
The v0.8.0 release CI emitted Node.js 20 deprecation warnings on every run for actions/upload-artifact@v5, actions/download-artifact@v5, and digicert/ssm-code-signing@v1.2.1. GitHub forces the Node 24 default on 2026-06-02 (~12 days out) and removes Node 20 entirely on 2026-09-16, after which any Node-20-only action breaks the workflow. FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 flips all JS-based actions onto Node 24 today, surfacing any incompatibility now instead of mid-release. Applied at the workflow `env:` level in all three workflows so every job inherits the flag. ci.yml runs on this PR — Node 24 path will be exercised before merge. release.yml is verified on the next real release. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Why
The v0.8.0 release CI run logged this annotation:
`FORCE_JAVASCRIPT_ACTIONS_TO_NODE24` is the W3C-style escape hatch GitHub documents for early opt-in. It flips every JS-based action on the runner to Node 24 today, so any incompatibility surfaces now rather than mid-release on 2026-06-02.
Why workflow-level env
Applied at the top of each workflow (not per-job) so every job inherits the flag — including the matrix builds in `release.yml` which span 4 OS targets and the code-signing step. No risk of missing a job.
Verification
Test plan
🤖 Generated with Claude Code