ci: Remediate Node.js 20 deprecation in GitHub Actions workflows#325
Merged
Conversation
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
mroman-recurly
approved these changes
Jun 2, 2026
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.
Description
Problem
GitHub Actions is deprecating Node.js 20. Actions using Node.js 20 (or older) will be forced to Node.js 24 starting June 2, 2026, and will be fully removed from runners on September 16, 2026. The workflows in this repo referenced
actions/checkout@v3andactions/setup-java@v3, both of which use Node.js 16.Fix
Upgraded all affected actions to their latest Node.js 24-native versions (runtime verified via
action.ymlbefore applying):actions/checkout@v3(node16) →actions/checkout@v6.0.3(node24)actions/setup-java@v3(node16) →actions/setup-java@v5.2.0(node24)Added
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: trueat the workflow level to validate Node.js 24 execution in CI. This flag will be removed before merge.The
r7kamura/semgrepper@v0(docker) anddocker://agilepathway/pull-request-label-checker:latest(docker) actions are not affected by this deprecation.Files Changed
.github/workflows/ci.yml—checkout@v3→v6.0.3,setup-java@v3→v5.2.0; addedFORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true.github/workflows/semgrep.yml—checkout@v3→v6.0.3; addedFORCE_JAVASCRIPT_ACTIONS_TO_NODE24: trueTesting
CI runs with
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: trueactive — all Java matrix tests (8, 11, 16, 17), CodeQL, and Semgrep passed.