chore(deps): update actions/setup-node action to v2.4.1 #163
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.1.5->v2.4.1Release Notes
actions/setup-node
v2.4.1Compare Source
This release introduces a new output:
cache-hit(#327).The
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.v2.4.0Compare Source
This release introduces dependency caching support for mono repos and repositories with complex structure (#305).
By default, the action searches for the dependency file (
package-lock.jsonoryarn.lock) in the repository root. Use thecache-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.Yaml example:
For more examples of using
cache-dependency-pathinput, see the Advanced usage guide.v2.3.2Compare Source
We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again.
Thank you for understanding.
v2.3.1Compare Source
Temporarily disabled usage of pre-cached Node.js.
v2.3.0Compare Source
This release introduces dependency caching support for the
pnpmpackage manager (#278).Caching pnpm dependencies:
NOTE: pnpm caching support requires pnpm version >= 6.10.0
v2.2.0Compare Source
This release brings two major features:
Supported version syntax
The
node-versioninput supports the following syntax:major versions:
12,14,16more specific versions:
10.15,14.2.0,16.3.0nvm LTS syntax:
lts/erbium,lts/fermium,lts/*Caching dependencies
The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are
npm,yarn. Thecacheinput is optional, and caching is turned off by default.Caching npm dependencies:
Caching yarn dependencies:
Yarn caching handles both yarn versions: 1 or 2.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.