Skip to content

chore(ci): update actions/setup-node action to v2.5.1#29

Merged
kenany merged 1 commit intomasterfrom
renovate/actions-setup-node-2.x
Dec 30, 2021
Merged

chore(ci): update actions/setup-node action to v2.5.1#29
kenany merged 1 commit intomasterfrom
renovate/actions-setup-node-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Nov 29, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
actions/setup-node action minor v2.4.1 -> v2.5.1

Release Notes

actions/setup-node

v2.5.1

Compare Source

In scope of this release we fix logic of error handling related to caching (https://github.com/actions/setup-node/pull/358) and (https://github.com/actions/setup-node/pull/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.

v2.5.0

Compare Source

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.


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added the ci label Nov 29, 2021
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from a5dca68 to 291f397 Compare December 28, 2021 11:28
@renovate renovate bot changed the title chore(ci): update actions/setup-node action to v2.5.0 chore(ci): update actions/setup-node action to v2.5.1 Dec 28, 2021
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from 291f397 to acd0add Compare December 30, 2021 22:45
@kenany kenany self-assigned this Dec 30, 2021
@renovate renovate bot force-pushed the renovate/actions-setup-node-2.x branch from acd0add to f86f35b Compare December 30, 2021 22:46
@kenany kenany force-pushed the renovate/actions-setup-node-2.x branch from f86f35b to 4d3c16d Compare December 30, 2021 22:46
@kenany kenany closed this in 4d3c16d Dec 30, 2021
@kenany kenany merged commit 4d3c16d into master Dec 30, 2021
@renovate renovate bot deleted the renovate/actions-setup-node-2.x branch December 30, 2021 22:46
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant