Bump actions/setup-node from 2.1.5 to 2.2.0 #123

Merged
dependabot[bot] merged 1 commits from dependabot/github_actions/actions/setup-node-2.2.0 into main 2021-07-01 10:45:49 +00:00
dependabot[bot] commented 2021-07-01 07:12:06 +00:00 (Migrated from github.com)

Bumps actions/setup-node from 2.1.5 to 2.2.0.

Release notes

Sourced from actions/setup-node's releases.

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

Caching yarn dependencies:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: '14'
    cache: 'yarn'
- run: yarn install
- run: yarn test

Yarn caching handles both yarn versions: 1 or 2.

At the moment, only lock files in the project root are supported.

Commits
  • 38d90ce Merge pull request #277 from actions/malob/update-readme
  • e1e1d4c Update README.md
  • 40f85c8 update readme
  • e215578 Merge pull request #272 from akv-platform/add-caching-for-node-dependencies
  • 9af8973 Merge pull request #274 from actions/v-mazhuk/automate-releasing-new-versions
  • cfe70f9 update dependencies
  • b259ba4 rebuild project
  • 55e1049 Merge branch 'main' into add-caching-for-node-dependencies
  • bcb4cec Merge pull request #270 from gordey4doronin/gordey/support-lts-syntax
  • 7292279 fix for documentation
  • 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 2.1.5 to 2.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>Support caching dependencies and LTS aliases</h2> <p>This release brings two major features:</p> <ul> <li>[Support LTS aliases <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/270">#270</a>](<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/270">actions/setup-node#270</a>)</li> <li>[Implementation of node's caching <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/272">#272</a>](<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/272">actions/setup-node#272</a>)</li> </ul> <h3>Supported version syntax</h3> <p>The <code>node-version</code> input supports the following syntax:</p> <p>major versions: <code>12</code>, <code>14</code>, <code>16</code><br /> more specific versions: <code>10.15</code>, <code>14.2.0</code>, <code>16.3.0</code><br /> nvm LTS syntax: <code>lts/erbium</code>, <code>lts/fermium</code>, <code>lts/*</code></p> <h3>Caching dependencies</h3> <p>The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are <code>npm</code>, <code>yarn</code>. The <code>cache</code> input is optional, and caching is turned off by default.</p> <p><strong>Caching npm dependencies:</strong></p> <pre lang="yaml"><code>steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14' cache: 'npm' - run: npm install - run: npm test </code></pre> <p><strong>Caching yarn dependencies:</strong></p> <pre lang="yaml"><code>steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14' cache: 'yarn' - run: yarn install - run: yarn test </code></pre> <p>Yarn caching handles both yarn versions: 1 or 2.</p> <blockquote> <p>At the moment, only <code>lock</code> files in the project root are supported.</p> </blockquote> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-node/commit/38d90ce44d5275ad62cc48384b3d8a58c500bb5f"><code>38d90ce</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/277">#277</a> from actions/malob/update-readme</li> <li><a href="https://github.com/actions/setup-node/commit/e1e1d4c85364e81d35f092df54e57f47c51f8ad9"><code>e1e1d4c</code></a> Update README.md</li> <li><a href="https://github.com/actions/setup-node/commit/40f85c8c9749fde9bb1f49ac6f38d0acc30cb80a"><code>40f85c8</code></a> update readme</li> <li><a href="https://github.com/actions/setup-node/commit/e215578cb0305f14eb5d11939e0f4610ae5bf7e6"><code>e215578</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/272">#272</a> from akv-platform/add-caching-for-node-dependencies</li> <li><a href="https://github.com/actions/setup-node/commit/9af89732f052e88905c85ff7ab78062ae0c3c536"><code>9af8973</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/274">#274</a> from actions/v-mazhuk/automate-releasing-new-versions</li> <li><a href="https://github.com/actions/setup-node/commit/cfe70f9fe8ca345bad2e02a88695dd317e6172c0"><code>cfe70f9</code></a> update dependencies</li> <li><a href="https://github.com/actions/setup-node/commit/b259ba49fed412baf54f73304eba7f06fdfde3ae"><code>b259ba4</code></a> rebuild project</li> <li><a href="https://github.com/actions/setup-node/commit/55e10498cf770f182fe51eb7f48df9a0a1f7ab0c"><code>55e1049</code></a> Merge branch 'main' into add-caching-for-node-dependencies</li> <li><a href="https://github.com/actions/setup-node/commit/bcb4cecf9b616a784bae71216cc4707c46b9573f"><code>bcb4cec</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/270">#270</a> from gordey4doronin/gordey/support-lts-syntax</li> <li><a href="https://github.com/actions/setup-node/commit/72922790cb23732db6a33f911db23457504c50ea"><code>7292279</code></a> fix for documentation</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=2.1.5&new-version=2.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: go-bds/Maneger#123
No description provided.