Problem/Motivation
Node.js 20 reached end of life on 30 April 2026, and Drupal core main now requires "node": ">= 24.0" in core/package.json. Cucumber UI declares "node": ">= 20.0" and yarn@4.9.3, commits a yarn.lock, and its CI runs node:20 and NodeSource setup_20.x.
Node 24 is the LTS line, latest v24.22.2, and it is one of the lines the November 2026 security releases will patch. Pinning the major picks those patches up with no further change. Local systems should use Node.js 24 or 26.
Steps to reproduce
- On 1.0.x, open
package.json:"node": ">= 20.0",packageManageryarn@4.9.3, and a committedyarn.lock. - Open
.gitlab-ci.yml: cspell and the lint jobs runnode:20, the webship-js job installs NodeSourcesetup_20.x.
Proposed resolution
package.jsonengines:"node": ">= 24.0". Yarn moves toyarn@4.18.1(packageManager) with the floor">= 4.18.1", and.yarnrc.ymlsetsapprovedGitRepositories,enableScripts,nodeLinker: node-modules,npmMinimalAgeGate: 0, which Yarn before 4.14.0 rejects..gitlab-ci.yml:node:24for cspell and the lint jobs, NodeSourcesetup_24.xfor the webship-js job,YARN_ENABLE_IMMUTABLE_INSTALLS: "false"for every job, since no lockfile is committed. The lint cache is keyed onpackage.json..gitlab-ci.yml:.composer-base, which every composer job extends, setsYARN_RC_FILENAME: .yarnrc.core.ymlandYARN_NODE_LINKER: node-modules, so Drupal core's own Yarn in those jobs does not read the project.yarnrc.yml.- The
testscripts callnode ./node_modules/@cucumber/cucumber/bin/cucumber.js: Yarn 4 does not expose thecucumber-jsbin of a webship-js dependency toyarn run(command not found: cucumber-js). yarn.lockis removed..gitignorenow ignoresyarn.lock,package-lock.jsonandpnpm-lock.yaml, so installs resolve frompackage.json.- Dependency ranges in
package.jsonuse carets, the way Drupal core writes them (~8becomes^8.0.0), with no major bump.
AI-Generated: Yes
Remaining tasks
- ✅ File an issue
- ✅ Addition/Change/Update/Fix
- ✅ Testing to ensure no regression
- ❌
yarn theme:buildfails onCannot find module 'postcss-calc', whichpackage.jsondoes not list (already so on 1.0.x with its lock; no CI job builds the CSS) - ➖ Automated unit/functional testing coverage
- ➖ Developer Documentation support
- ➖ User Guide Documentation support
- ➖ UX/UI designer responsibilities
- ➖ Accessibility and Readability
- ❌ Reviewed by a human
- ❌ Code review by maintainers
- ❌ Full testing and approval
- ❌ Credit contributors
- ❌ Review with the product owner
- ✅ Update Release Notes
- ✅ Release
User interface changes
- N/A
API changes
- N/A
Data model changes
- N/A
Release notes snippet
- Node.js 24 or newer is now required, in the engines and CI. Yarn 4.18.1 is the package manager.
Issue fork cucumber_ui-3635908
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajab natshahComment #5
rajab natshah✅ Released cucumber_ui-1.0.1: https://www.drupal.org/project/cucumber_ui/releases/1.0.1