mirror of
https://gitea.com/actions/setup-node.git
synced 2024-11-10 09:39:21 +08:00
8170e22e8f
* Add project-dir * Fix find lock file * Remove package-dir input * format & resolve conflicts * Add unit tests * build dist * Apply change request fixes * handle non-dir cache-dependency-path * bump cache version * run checks * Handle globs in cacheDependencyPath * refactor, introduce `cacheDependencyPathToProjectsDirectories` it is necessary for the next PR related yarn optimization * Changes requests * Apply fixes * review fixes * add e2e * Add unique * review updates * review updates second stage * Review fixes 3 * imporve e2e tests |
||
---|---|---|
.. | ||
data | ||
mock | ||
authutil.test.ts | ||
cache-restore.test.ts | ||
cache-save.test.ts | ||
cache-utils.test.ts | ||
canary-installer.test.ts | ||
main.test.ts | ||
nightly-installer.test.ts | ||
official-installer.test.ts | ||
prepare-subprojects.sh | ||
problem-matcher.test.ts | ||
rc-installer.test.ts | ||
README.md | ||
verify-arch.sh | ||
verify-node.sh |
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