Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

chore(deps): bump actions/setup-node from 1 to 3 in /.github/workflows #1110

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

Bumps actions/setup-node from 1 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 added npm-shrinkwrap.json to dependency file patterns: actions/setup-node#439

Update 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

Update @​actions/core for v2

In scope of this release we updated actions/core to 1.10.0 and actions/tool-cache to 1.7.2 for v2: actions/setup-node#713

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 update actions/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 and node-version-file inputs, the action will use value from the node-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

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot requested review from a team as code owners September 1, 2023 21:17
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2023

The following labels could not be found: github-actions.

@dependabot dependabot bot added the dependabot dependabot label Sep 1, 2023
Matthew-Mallimo
Matthew-Mallimo previously approved these changes Sep 5, 2023
@Matthew-Mallimo Matthew-Mallimo requested a review from a team September 5, 2023 13:54
dogpatch626
dogpatch626 previously approved these changes Sep 5, 2023
@dependabot dependabot bot force-pushed the dependabot/github_actions/dot-github/workflows/5.x.x/actions/setup-node-3 branch from 1bb6acd to 7eff8a7 Compare September 5, 2023 14:38
JAdshead
JAdshead previously approved these changes Sep 5, 2023
@JAdshead JAdshead enabled auto-merge (squash) September 5, 2023 15:31
@dependabot dependabot bot force-pushed the dependabot/github_actions/dot-github/workflows/5.x.x/actions/setup-node-3 branch from 7eff8a7 to 228e60f Compare September 5, 2023 15:54
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

Size Change: 0 B

Total Size: 663 kB

ℹ️ View Unchanged
Filename Size
./build/app/app.js 161 kB
./build/app/app~vendors.js 377 kB
./build/app/runtime.js 7.07 kB
./build/app/service-worker-client.js 7.25 kB
./build/app/vendors.js 111 kB

compressed-size-action

@Matthew-Mallimo
Copy link
Member

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 7, 2023

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@Matthew-Mallimo
Copy link
Member

@dependabot recreate

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot dismissed stale reviews from dogpatch626, Matthew-Mallimo, and JAdshead via 3e9fea9 September 7, 2023 16:11
@dependabot dependabot bot force-pushed the dependabot/github_actions/dot-github/workflows/5.x.x/actions/setup-node-3 branch from b2d108f to 3e9fea9 Compare September 7, 2023 16:11
@JAdshead JAdshead merged commit 1372719 into 5.x.x Sep 8, 2023
6 checks passed
@JAdshead JAdshead deleted the dependabot/github_actions/dot-github/workflows/5.x.x/actions/setup-node-3 branch September 8, 2023 18:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependabot dependabot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants