You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
setup-node/__tests__
Ferdinand Thiessen 774c1d6296
feat(node-version-file): support parsing `devEngines` field (#1283)
* feat(node-version-file): support parsing `devEngines` field

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

* test: adjust for array like `devEngines`

Co-authored-by: Grigory <grigory.orlov.set@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

* ci(versions.yml): update actions and reduce duplicated tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

* docs: consolidate advanced usage

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

* chore: compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

---------

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Grigory <grigory.orlov.set@gmail.com>
4 weeks ago
..
data feat(node-version-file): support parsing `devEngines` field (#1283) 4 weeks ago
mock
README.md
authutil.test.ts Remove always-auth configuration handling from action (#1436) 4 months ago
cache-restore.test.ts fix: add arch to cached path (#843) 1 year ago
cache-save.test.ts Bump prettier from 2.8.8 to 3.6.2 (#1334) 6 months ago
cache-utils.test.ts Revise `isGhes` logic (#1148) 1 year ago
canary-installer.test.ts Remove always-auth configuration handling from action (#1436) 4 months ago
main.test.ts feat(node-version-file): support parsing `devEngines` field (#1283) 4 weeks ago
nightly-installer.test.ts Remove always-auth configuration handling from action (#1436) 4 months ago
official-installer.test.ts Remove always-auth configuration handling from action (#1436) 4 months ago
prepare-yarn-subprojects.sh Do not ivalidate the cache entirely on lock file change (#744) 3 years ago
problem-matcher.test.ts
rc-installer.test.ts Remove always-auth configuration handling from action (#1436) 4 months ago
verify-arch.sh
verify-node.sh Upgrade action to use node24 (#1325) 7 months ago

README.md

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