You've already forked setup-node
mirror of
https://github.com/actions/setup-node.git
synced 2025-10-24 20:15:11 +07:00
* fix: add arch to cached path * fix: change from using env to os module * fix: use process.env.RUNNER_OS instead of os.platform() * fix: remove unused var
Files located in data directory are used only for testing purposes.
Here the list of files in the data directory
.nvmrc,.tools-versionsandpackage.jsonare used to test node-version-file logicpackage-lock.json,pnpm-lock.yamlandyarn.lockare used to test cache logicversions-manifest.jsonis used for unit testing to check downloading Node.js versions from the node-versions repository.node-dist-index.jsonis 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.jsonis 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.jsonis 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