task: #3635695 Update Node.js to >= 24.0 and Yarn to 4.18.1

Moves the Node.js pins on 1.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/3635695

  • package.json: engines "node": ">= 24.0" and "yarn": ">= 4.18.1", packageManager yarn@4.18.1.
  • CI: .gitlab-ci.yml image node:24.
  • DDEV: not present.
  • Upsun: not present.
  • Also on Node 24: tests/README.md.
  • Lockfiles are no longer committed: none was tracked, and .gitignore now ignores them.
  • The test* scripts call node ./node_modules/@cucumber/cucumber/bin/cucumber.js, because Yarn 4.18.1 did not find the cucumber-js bin.

Checked in node:24 (v24.22.2) with no lockfile present: Yarn 4.18.1 install and the test dry run (494 scenarios) pass, and so do npm install and ESLint, the way CI runs them. MR pipeline 1033604 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

Merge request reports

Loading
Loading