Skip to content

Update Node.js version #6026

@nfmohit

Description

@nfmohit

Feature Description

We are currently running on a roughly older LTS of Node (14) and we should explore updating to the newer LTS (18) to benefit from the performance improvements and npm v7.

This came up while working on #5345 where https://github.com/browserslist/update-db isn't compatible with npm versions < 7.

This issue should include updating the browserslist-update-action to the latest version, see: https://github.com/google/site-kit-wp/pull/5883/files#r1004133133.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • .nvmrc is updated to use lts/jod version (22.x).
  • Dependencies that don't support that version are updated to newer versions.

Implementation Brief

Test Coverage

  • N/A

QA Brief

  • Plugin should be thoroughly smoke-tested as this adjusts the build process of the plugin.

Changelog entry

  • Update version of NodeJS used to build Site Kit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Medium priorityTeam SIssues for Squad 1Type: InfrastructureEngineering infrastructure & tooling

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions