aws-otel-lambda
aws-otel-lambda copied to clipboard
Bump actions/setup-node from 2 to 3
Bumps actions/setup-node from 2 to 3.
Release notes
Sourced from actions/setup-node's releases.
Add support for asdf format and update actions/cache version to 3.0.0
In scope of this release we updated
actions/cache
package as the new version contains fixes for caching error handling. Moreover, we added support for asdf format as Node.js version file actions/setup-node#373. Besides, we introduced new output node-version and addednpm-shrinkwrap.json
to dependency file patterns: actions/setup-node#439Update actions/cache version to 2.0.2
In scope of this release we updated
actions/cache
package as the new version contains fixes related to GHES 3.5 (actions/setup-node#460)v3.0.0
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.
Breaking Changes
- 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
version
input (actions/setup-node#424). Please usenode-version
input instead.Fix logic of error handling for npm warning and uncaught exception
In scope of this release we fix logic of error handling related to caching (actions/setup-node#358) and (actions/setup-node#359).
In the previous behaviour we relied on
stderr
output 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-file
input and updateactions/cache
dependency 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
andnode-version-file
inputs, the action will use value from thenode-version
input 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
v
prefix (v14
)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-hit
(#327).The
cache-hit
output 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 (
package-lock.json
oryarn.lock
) in the repository root. Use thecache-dependency-path
input 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.
... (truncated)
Commits
969bd26
Fix test volta priority (#577)9f3a02b
Merge pull request #532 from jef/main4cffe5c
chore: remove sponge usage0efefb3
Merge remote-tracking branch 'upstream/main'1e6f2cd
test: add volta e2e test30f0e7d
Update@actions/core
to 1.9.1 (#574)c8f0d10
upgrade@action/cache
to 3.0.4 to fix stuck issue (#573)b4b18e5
Update package json version (#570)9efe00a
Merge pull request #569 from e-korolevskii/main35ba06b
docs(contributor's guide): Update link- Additional commits viewable 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 rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)