Make WordPress Core


Ignore:
Timestamp:
12/20/2023 06:59:17 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Raise minimum required version of Node.js/npm.

This bumps the minimum required version of Node.js/npm from 16.19.1 and 8.19.3 to 20.10.0 and 10.2.3.

Since 20.10.0 is the latest 20.x version of Node.js, the check-latest option has been enabled for actions/setup-node in GitHub Actions workflows. This performs an additional external call to the Node.js API confirming the latest version is installed on the runner for use. In testing, it seems that 20.10.0 was not consistently deployed to all runner machines in use. This should be removed in the near future when the version of Node.js is reliably above the new minimum requirement.

The Gutenberg repository has also been updated to use the same values for engines.

Merges [57212] to the 6.4 branch.

Props jorbin, joemcgill, swissspidy, benharri, dhrupo, flootr, gziolo, noahtallen.
See #59663.

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

  • branches/6.4/README.md

    r56387 r57214  
    3636If you are not using a package manager, see the [Node.js download page](https://nodejs.org/en/download/) for installers and binaries.
    3737
    38 **Note:** WordPress currently only officially supports Node.js `16.x` and npm `8.x`.
     38**Note:** WordPress currently only officially supports Node.js `20.x` and npm `10.x`.
    3939
    4040You will also need [Docker](https://www.docker.com/products/docker-desktop) installed and running on your computer. Docker is the virtualization software that powers the local development environment. Docker can be installed just like any other regular application.
Note: See TracChangeset for help on using the changeset viewer.