Created by: dependabot[bot]
Bumps actions/setup-node from 2 to 3.0.0.
Sourced from actions/setup-node's releases.
In scope of this release we changed version of the runtime Node.js for the setup-node action and updated package-lock.json file to v2.
- With the update to Node 16 in actions/setup-node#414, all scripts will now be run with Node 16 rather than Node 12.
- We removed deprecated
versioninput (actions/setup-node#424). Please use
Fix logic of error handling for npm warning and uncaught exception
In the previous behaviour we relied on
stderroutput to throw error. The warning messages from package managers can be written to the stderr's output. For now the action will throw an error only if exit code differs from zero. Besides, we add logic to сatch and log unhandled exceptions.
Adding Node.js version file support
In scope of this release we add the
node-version-fileinput and update
actions/cachedependency to the latest version.
Adding Node.js version file support
The new input (
node-version-file) provides functionality to specify the path to the file containing Node.js's version with such behaviour:
- If the file does not exist the action will throw an error.
- If you specify both
node-version-fileinputs, the action will use value from the
node-versioninput and throw the following warning:
Both node-version and node-version-file inputs are specified, only node-version will be used.
- For now the action does not support all of the variety of values for Node.js version files. The action can handle values according to the documentation and values with
steps: - uses: actions/checkout@v2 - name: Setup node from node version file uses: actions/setup-node@v2 with: node-version-file: '.nvmrc' - run: npm install - run: npm test
Update actions/cache dependency to 1.0.8 version.
We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the toolkit/cache.
Add "cache-hit" output
This release introduces a new output:
cache-hitoutput contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.
Support caching for mono repos and repositories with complex structure
This release introduces dependency caching support for mono repos and repositories with complex structure (#305).
By default, the action searches for the dependency file (
yarn.lock) in the repository root. Use the
cache-dependency-pathinput for cases when multiple dependency files are used, or they are located in different subdirectories. This input supports wildcards or a list of file names for caching multiple dependencies.
steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 </tr></table>
9ced9a4remove version input (#424)
3e90744Update lockfileVersion (#422)
28df918Update default runtime to node16 (#414)
f099707fix tsc build error for
f658dc5ci: use NPM cache in check-dist (#393)
5e2e068ci(workflow): add cache to workflows using actions/setup-node (#287)
7a0f7a9Fix grammar in the README (#331)
7b55867chore: Remove strategy for non-matrix builds (#186)
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it
@dependabot mergewill merge this PR after your CI passes on it
@dependabot squash and mergewill squash and merge this PR after your CI passes on it
@dependabot cancel mergewill cancel a previously requested merge and block automerging
@dependabot reopenwill reopen this PR if it is closed
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)