Skip to content

Upgrade to Node 24 #6411

@romaricpascal

Description

@romaricpascal

What

Update the version of Node.JS used by the Design System to Node 24. This includes:

  • Updating .browserslistrc so Babel is aware we need to support only Node 24 when transpiling for Jest
  • Updating .nvmrc so tools like nvm and asdf use the correct version
  • Bump the package.json engines.node range so npm install and other scripts check the local Node.js version is allowed
  • Bump the package.json engines.npm range to support the version of npm corresponding to Node 24

These were the steps we took in previous updates. New areas in our code may reference Node's version as "22" or "jod" so it's worth a quick look across the repository to check there's no extra changes needed.

Why

So we use the LTS version of Node. This will also let us accept the Dependabot PRs upgrading our GitHub actions.

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • .browserslistrc references Node 24
  • .nvmrc references Node 24
  • package.json references Node 24
  • package.json references the version of npm corresponding to Node 24
  • We've reviewed the projects for other areas we need to update Node version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions