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

⬆️👷 Bump actions/setup-node from 1 to 2.3.1 #362

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 3, 2021

Bumps actions/setup-node from 1 to 2.3.1.

Release notes

Sourced from actions/setup-node's releases.

Temporary maintenance fix.

Temporarily disabled usage of pre-cached Node.js.

Support caching pnpm dependencies

This release introduces dependency caching support for the pnpm package manager (#278).

Caching pnpm dependencies:

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
steps:

uses: actions/checkout@v2
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.10.0
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'pnpm'
run: pnpm install
run: pnpm test

NOTE: pnpm caching support requires pnpm version >= 6.10.0

Support caching dependencies and LTS aliases

This release brings two major features:

Supported version syntax

The node-version input supports the following syntax:

major versions: 12, 14, 16
more specific versions: 10.15, 14.2.0, 16.3.0
nvm 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. The cache input is optional, and caching is turned off by default.

Caching npm dependencies:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: '14'
</tr></table> 

... (truncated)

Commits
  • d6e3b55 Merge pull request #308 from actions/v-alsvir/disable-cache-usage-temp-v2
  • db716f8 Add yarn env variable
  • c24389f Staging unstaged
  • 004fb83 Temporarily disabled cache usage
  • aa759c6 Merge pull request #278 from jacobwgillespie/cache-pnpm
  • 0ae03de Reorder to npm, yarn, pnpm
  • 4bc87b8 Bump e2e tests to 6.10.0
  • b96348a Remove unused imports
  • 3af302a Switch to pnpm store path command
  • f452812 Unmock fs.existsSync after tests
  • 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)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 2.3.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1...v2.3.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 added the ⬆️⬇️ dependencies Pull requests that update a dependency file label Aug 3, 2021
@Robdel12 Robdel12 merged commit 70c093d into master Aug 3, 2021
@delete-merged-branch delete-merged-branch bot deleted the dependabot/github_actions/actions/setup-node-2.3.1 branch August 3, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️⬇️ dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant