Repository navigation
Chore: Update to Node 24 - #5506
Merged
Merged
Conversation
Node 20 is EOL. Bump the version in .node-version and in both actions/setup-node steps in the CI workflow to Node 24 (current LTS).
mao-sz
requested changes
Nov 4, 2026
mao-sz
left a comment
Contributor
There was a problem hiding this comment.
We can actually remove the .node-version file. It was previously used by webpacker but that package has long been removed and AFAIK, nothing else we have requires Node v20 (or even reads .node-version).
It was only used by webpacker, which has long been removed, and nothing else in the repo reads it. The Node version used in CI is set explicitly in the workflow.
Contributor
Author
|
Thanks @mao-sz, good catch. I've removed |
Contributor
|
CI currently failing is known - discussing with team as to way forward |
mao-sz
approved these changes
Nov 16, 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.
Because
Node 20 is EOL. The Node version targeted by the CI workflow should move to Node 24, the current LTS. Production on Heroku is already running Node ^24 (there is no
enginesfield inpackage.json), so this brings the repo's own configuration in line with what is actually deployed. The.node-versionfile was only used bywebpacker, which has long been removed, and nothing else reads it, so it is removed rather than bumped.This PR
actions/setup-node@v6steps in.github/workflows/ci.ymlfromnode-version: 20tonode-version: 24.node-versionfileIssue
Closes #5409
Additional Information
CI passes on Node 24. Also verified locally on Node 24.18.0:
yarn install(native deps esbuild,@parcel/watcherand@sentry/clirebuild without errors),yarn build,yarn build:css,yarn lint,yarn stylelint,bin/rails spec:fast(722 examples, 0 failures) andbin/rails spec:system(89 examples, 0 failures; these precompile assets withyarn build).As discussed in the issue, pinning the version via
engines/devEnginesinpackage.json(and having CI read it withnode-version-file) is left out of this PR so that getting to Node 24 stays the priority.Pull Request Requirements
keyword: brief description of changeformat, using one of the following keywords:Feature- adds new or amends existing user-facing behaviorChore- changes that have no user-facing value, refactors, dependency bumps, etcFix- bug fixesBecausesection summarizes the reason for this PRThis PRsection has a bullet point list describing the changes in this PRIssuesection