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__
Ivan 962678f22c
Add and configure ESLint and update configuration for Prettier (#703)
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
2 years ago
..
data Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
README.md Add support for nightly and rc versions (#611) 2 years ago
authutil.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
cache-restore.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
cache-save.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
cache-utils.test.ts replace throw with warn 2 years ago
canary-installer.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
main.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
nightly-installer.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
official-installer.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
problem-matcher.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
rc-installer.test.ts Add and configure ESLint and update configuration for Prettier (#703) 2 years ago
verify-arch.sh Add e2e arch test 4 years ago
verify-node.sh Update tool-cache for download retries (#120) 5 years 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