Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions: bump actions/setup-node from 2.1.4 to 3.1.1 #1750

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 12, 2022

Bumps actions/setup-node from 2.1.4 to 3.1.1.

Release notes

Sourced from actions/setup-node's releases.

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)

Add caching support on GHES 3.5

In scope of this release we added support for caching from GHES 3.5 and fixed download issue for files > 2GB during restore. Besides, we updated actions/cache dependency to 2.0.0 version.

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

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

This release introduces dependency caching support for mono repos and repositories with complex structure (#305).

... (truncated)

Commits
  • 56337c4 Updated @​actions/cache (#460)
  • 76d3665 Convert CONDUCT to CODE_OF_CONDUCT.md (#391)
  • 5b52f09 Bump actions/checkout@v3 within advanced usage examples documentation (#456)
  • 7571663 Bump to actions/checkout@v3 (#437)
  • 546fd45 Updated documentation/workflows to use actions/setup-node@v3 (#433)
  • bacd6b4 Caching on GHES (#452)
  • bed538b Merge pull request #448 from actions/dependabot/npm_and_yarn/minimist-1.2.6
  • f3e93d1 Bump minimist from 1.2.5 to 1.2.6
  • ed960c9 Merge pull request #440 from actions/joshmgross/service-codeowners
  • 77f43a4 Update CODEOWNERS to actions-service
  • Additional commits viewable in compare view

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 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 added the 🤖 bot label Apr 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 12, 2022

Dependabot tried to add @octocat and @AlexRogalskiy as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/AlexRogalskiy/java-patterns/pulls/1750/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the AlexRogalskiy/java-patterns repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@changelogg
Copy link

changelogg bot commented Apr 12, 2022

Hey! Changelogs info seems to be missing or might be in incorrect format.
Please use the below template in PR description to ensure Changelogg can detect your changes:
- (tag) changelog_text
or
- tag: changelog_text
OR
You can add tag in PR header or while doing a commit too
(tag) PR header
or
tag: PR header
Valid tags: added / feat, changed, deprecated, fixed / fix, removed, security, build, ci, chore, docs, perf, refactor, revert, style, test
Thanks!
For more info, check out changelogg docs

@viezly
Copy link

viezly bot commented Apr 12, 2022

Pull request by bot. No need to analyze

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 12, 2022

The following labels could not be found: dependencies.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 6, 2022

Superseded by #3139.

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.4 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v2.1.4...v3.1.1)

---
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 force-pushed the dependabot/github_actions/actions/setup-node-3.1.1 branch from b58cb5d to e133d79 Compare June 7, 2022 15:27
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2022

Superseded by #3191.

@dependabot dependabot bot closed this Oct 21, 2022
@dependabot dependabot bot deleted the dependabot/github_actions/actions/setup-node-3.1.1 branch October 21, 2022 19:40
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant