Files
setup-node/__tests__
Haritha 1b7c366466 Update workflow pins and migrate Node matrices to modern versions (#1583)
* Update workflow action pins and move Node 20 to 26

* fix: correct node version in v8-canary and update setup for node 22 x86

* chore: update setup-node action version from v6 to v7 in documentation

* fix: update pnpm/action-setup version to v6 in advanced usage documentation
2026-07-16 10:33:56 -05:00
..

Files located in data directory are used only for testing purposes.

Here the list of files in the data directory

  • .nvmrc, .tools-versions and package.json are used to test node-version-file logic
  • package-lock.json, pnpm-lock.yaml and yarn.lock are used to test cache logic
  • versions-manifest.json is used for unit testing to check downloading Node.js versions from the node-versions repository.
  • node-dist-index.json is used for unit testing to check downloading Node.js versions from the official site. The file was constructed from https://nodejs.org/dist/index.json
  • node-rc-index.json is used for unit testing to check downloading Node.js rc versions from the official site. The file was constructed from https://nodejs.org/download/rc/index.json
  • node-nightly-index.json is used for unit testing to check downloading Node.js nightly builds from the official site. The file was constructed from https://nodejs.org/download/nightly/index.json