Loading
task: #3635512 Update Node.js to >= 24.0 and Yarn to 4.18.1
Moves the Node.js pins on 10.1.x to 24, the floor Drupal core main declares in core/package.json. Node.js 20 reached end of life on 30 April 2026.
Issue: https://www.drupal.org/i/3635512
package.json: engines"node": ">= 24.0"and"yarn": ">= 4.18.1",packageManageryarn@4.18.1, with the Varbase.yarnrc.yml.- Dependency ranges use carets,
^MAJOR.MINOR.PATCH, as Drupal core'spackage.jsondoes. No major changes. - CI:
.gitlab-ci-local.ymlimagenode:24;.gitlab-ci.ymlNodeSourcesetup_24.x,YARN_RC_FILENAMEon.composer-base(everycomposerjob, the variants included) and onstylelint, so Drupal core's own Yarn 4.9.1 no longer reads the project.yarnrc.yml. - DDEV: not present.
- Upsun: not present.
- Lockfiles are no longer committed:
yarn.lockremoved and ignored in.gitignore.
CI=true YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install with no lockfile, and the Cucumber dry-run (22 scenarios) pass on Node v24.22.2 and Yarn 4.18.1. MR pipeline 1033768 is green.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah