Problem/Motivation

Node.js 18 had been EoL since 30 Aplil 2025.
Change record for Drupal 11.0.0 says Node.js 20 is required for core development.
In #3546517: Show node/yarn version output in core's CI, I tried to show Node.js version on Gitlab CI pipeline and shown Node.js version was v18.20.8.

https://git.drupalcode.org/issue/drupal-3546517/-/jobs/6938349

Proposed resolution

Upgrade Node.js version on Gitlab CI pipeline.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Command icon 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

tom konda created an issue. See original summary.

quietone’s picture

Title: Node.js 18 is still using on Gitlab CI pipeline » Update nodejs to v18
Project: Drupal core » DrupalCI: Environments
Version: 11.x-dev »
Component: javascript » PHP Containers
Issue tags: +blocker

This is for the CI environments project

This is blocking updating cspell for 11.3.0

quietone’s picture

Title: Update nodejs to v18 » Update nodejs to v20
quietone’s picture

Priority: Normal » Critical

Changing to critical because 11 is not being tested on the required version

longwave made their first commit to this issue’s fork.

longwave changed the visibility of the branch 3351615-node18 to hidden.

longwave’s picture

Status: Active » Needs review
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Setting up nodejs (20.19.5-1nodesource1) ...
Setting up yarn (1.22.22-1) ...

I will split MR into parts so testing will be faster

  • andypost committed 57e74249 on production authored by longwave
    [#3553354] feat: Update nodejs to v20 for PHP 8.4
    
    By: quietone
    By:...

  • andypost committed 4497cfd8 on production
    PHP: 8.3 bump NodeJS to 20.x #3553354
    

  • andypost committed 470fc147 on dev authored by longwave
    [#3553354] feat: Update nodejs to v20
    
    By: quietone
    By: longwave
    By:...

  • andypost committed 502e0118 on production authored by longwave
    [#3553354] feat: Update nodejs to v20 for PHP 8.5
    
    By: quietone
    By:...

andypost’s picture

Status: Reviewed & tested by the community » Fixed

Hope this upgrade will not break 10.x branch

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.