Loading
task: #3635746 Update Node.js to >= 24.0 and Yarn to 4.18.1
Moves the Node.js pins on 5.0.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/3635746
- engines:
node >= 24.0,yarn >= 4.18.1;packageManageryarn@4.18.1. - House
.yarnrc.yml,.yarn/ignored. - CI: NodeSource
setup_24.xfor the browser tests; gitlab-ci-localnode:24. - CI: keep Drupal core Yarn off
.yarnrc.ymlon.composer-baseandstylelint. - test scripts call the
cucumber.jsentry: Yarn 4 does not exposecucumber-jsto yarn run. - Remove the Yarn Classic
yarn.lockand ignore JavaScript lockfiles. - Caret dependency ranges, as Drupal core does.
- CI: pin
DRUPAL_COREto 11.4.11 on the composer job. Templates 1.17.0 resolveCORE_STABLEto 11.4.6, which Twig 3.30 breaks (HTTP 500 on every rendered page, fixed in core 11.4.8), so all six browser scenarios failed at the login form.
Checked in node:24 (v24.22.2) with no lockfile present: the Yarn 4.18.1 install, the test dry run (6 scenarios) and gitlab-ci-local cspell pass. MR pipeline 1033895 is green, all 8 jobs.
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