setup-node/__tests__
2026-06-26 13:59:45 +05:30
..
data Scope test lockfiles by package manager and update cache tests (#1495) 2026-02-26 13:18:58 -06:00
mock Migrate to ESM 2026-06-26 13:59:45 +05:30
authutil.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
cache-restore.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
cache-save.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
cache-utils.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
canary-installer.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
main.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
nightly-installer.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
official-installer.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
prepare-yarn-subprojects.sh Do not ivalidate the cache entirely on lock file change (#744) 2023-06-27 13:07:43 +02:00
problem-matcher.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
rc-installer.test.ts Migrate to ESM 2026-06-26 13:59:45 +05:30
README.md Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
verify-arch.sh Add e2e arch test 2020-12-09 13:28:47 -06:00
verify-node.sh Upgrade action to use node24 (#1325) 2025-09-02 20:31:16 -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