lukka / run-cmake

GitHub Action to build C++ applications with CMake (CMakePresets.json), Ninja and vcpkg on GitHub.
MIT License
173 stars 19 forks source link

Bump actions/setup-node from 1 to 2.3.0 #51

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps actions/setup-node from 1 to 2.3.0.

Release notes

Sourced from actions/setup-node's releases.

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'
    cache: 'npm'
- run: npm install
- run: npm test
</tr></table> 

... (truncated)

Commits
  • 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
  • e93556c Mock fs.existsSync in tests
  • 0453e51 Regenerate compiled files
  • 399982b Move existence check to cache-save
  • d278e78 Add logic to check that cache folder exists
  • 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)