ci(build): standardize Node.js 24 across all CI workflows#358
Merged
WilliamBerryiii merged 3 commits intomainfrom Apr 7, 2026
Merged
ci(build): standardize Node.js 24 across all CI workflows#358WilliamBerryiii merged 3 commits intomainfrom
WilliamBerryiii merged 3 commits intomainfrom
Conversation
- add setup-node with Node 24 to docs-lint, code-quality-lint, security-scan - upgrade Node 18 to 24 in pages-deploy and docs-automation - upgrade Node 22.x to 24 in cluster-test-terraform 🔧 - Generated by Copilot
nguyena2
approved these changes
Apr 7, 2026
katriendg
approved these changes
Apr 7, 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
Standardized Node.js 24 across all CI/CD workflow files to resolve compatibility failures with packages requiring Node >= 22.18.0. Six GitHub Actions workflows were updated — three received new
setup-nodesteps that were previously missing (relying on the runner's default Node 20.x), and three had existing Node.js version references upgraded from older versions to 24.This change unblocks the cspell 10.0.0 upgrade (PR #342), which requires Node >= 22.18.0 at runtime. An audit of all 28 workflow files in
.github/workflows/confirmed no other workflows require Node.js setup changes.Related Issue
Type of Change
Implementation Details
New setup-node Steps Added
Three workflows lacked explicit Node.js setup and relied on the runner's default version. Each received a new
actions/setup-nodestep positioned before the firstnpmcommand:setup-nodewithnode-version: '24'before dependency installationsetup-nodewithnode-version: '24'before dependency installationsetup-nodewithnode-version: '24'before secretlint installationExisting Node.js Versions Upgraded
Three workflows had explicit but outdated Node.js version references that were bumped to 24:
'18'to'24'in two job steps (validate-links and build-documentation)'18'to'24''22.x'to'24'Supply Chain Security
All
setup-nodesteps use the same pinned action SHA (actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4.3.0) for supply chain integrity.Testing Performed
Validation Steps
node-version: '24'setup-nodesteps use pinned SHA53b83947a5a98c8d113130e565377fae1a50d02fChecklist
terraform fmton all Terraform codeterraform validateon all Terraform codeaz bicep formaton all Bicep codeaz bicep buildto validate all Bicep codeSecurity Review
Additional Notes
Screenshots (if applicable)
N/A — CI/CD pipeline changes only.