mirror of
https://github.com/actions/setup-node.git
synced 2025-10-14 13:34:00 +08:00

* default to auto-caching only for npm package manager and documentation update * refactor: enhance package manager detection for auto-caching * add devEngines.packageManager detection logic for npm auto-caching * chore: bump version to 6.0.0 and update documentation * docs: update README and action.yml for npm caching logic clarification * chore: update Node.js version in workflows * chore: update Node.js versions in versions.yml * chore: update rc Node.js version in versions.yml * chore: switch macos-13 runner to macos-latest-large in workflow * docs: update README and advanced usage documentation
Files located in data directory are used only for testing purposes.
Here the list of files in the data directory
.nvmrc
,.tools-versions
andpackage.json
are used to test node-version-file logicpackage-lock.json
,pnpm-lock.yaml
andyarn.lock
are used to test cache logicversions-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.jsonnode-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.jsonnode-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