Skip to content

Commit

Permalink
Bump actions/setup-node from 2.3.0 to 2.4.0
Browse files Browse the repository at this point in the history
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.3.0 to 2.4.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 for mono repos and repositories with complex structure</h2>
<p>This release introduces dependency caching support for mono repos and repositories with complex structure (<a href="https://github-redirect.dependabot.com/actions/setup-node/issues/305">#305</a>).</p>
<p>By default, the action searches for the dependency file (<code>package-lock.json</code> or <code>yarn.lock</code>) in the repository root. Use the <code>cache-dependency-path</code> input for cases when multiple dependency files are used, or they are located in different subdirectories. This input supports wildcards or a list of file names for caching multiple dependencies.</p>
<p>Yaml example:</p>
<pre lang="yml"><code>steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
  with:
    node-version: 14
    cache: npm
    cache-dependency-path: 'sub-project/package-lock.json'
</code></pre>
<p>For more examples of using <code>cache-dependency-path</code> input, see the <a href="https://github.com/actions/setup-node/blob/25316bbc1f10ac9d8798711f44914b1cf3c4e954/docs/advanced-usage.md#caching-packages-dependencies">Advanced usage</a> guide.</p>
<h2>Revert temporary fix</h2>
<p>We had to disable pre-cached Node.js usage in the previous version due to the broken image cache. Now cache is fixed, so we can safely enable its usage again.
Thank you for understanding.</p>
<h2>Temporary maintenance fix.</h2>
<p>Temporarily disabled usage of pre-cached Node.js.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/actions/setup-node/commit/25316bbc1f10ac9d8798711f44914b1cf3c4e954"><code>25316bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/305">#305</a> from MaksimZhukov/mazhuk/adding-support-for-monorepos</li>
<li><a href="https://github.com/actions/setup-node/commit/76a4cff9ae9abd877db3173c31637296d870a25b"><code>76a4cff</code></a> update readme and dist files</li>
<li><a href="https://github.com/actions/setup-node/commit/a869e7cc2db593443fe4273b3566c2446337c3d1"><code>a869e7c</code></a> Merge branch 'main' of <a href="https://github.com/MaksimZhukov/setup-node">https://github.com/MaksimZhukov/setup-node</a> into mazhuk...</li>
<li><a href="https://github.com/actions/setup-node/commit/a0cdab1110ea1f0f4fb59851ef15f68231289f7b"><code>a0cdab1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/299">#299</a> from actions/malob/adr-caching-monorepos</li>
<li><a href="https://github.com/actions/setup-node/commit/4d0182af5ead0b7bf53e87e49aa959476f5501d3"><code>4d0182a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/310">#310</a> from actions/revert-308-v-alsvir/disable-cache-usage-...</li>
<li><a href="https://github.com/actions/setup-node/commit/896ee80599ea831592cc8484629043410040b226"><code>896ee80</code></a> Restore YARN flag</li>
<li><a href="https://github.com/actions/setup-node/commit/d21ecc7c5be116ff576d1e1dd67cf7eefbb22ed3"><code>d21ecc7</code></a> Revert &quot;Temporarily disabled cache usage for v2&quot;</li>
<li><a href="https://github.com/actions/setup-node/commit/d6e3b5539ed7e5ccd26c3459e26c7c817f4e9068"><code>d6e3b55</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/308">#308</a> from actions/v-alsvir/disable-cache-usage-temp-v2</li>
<li><a href="https://github.com/actions/setup-node/commit/db716f881ae727ff1c231028cc3926681f7d2e7b"><code>db716f8</code></a> Add yarn env variable</li>
<li><a href="https://github.com/actions/setup-node/commit/c24389f79e91ba615d93590929027ff3d63575ae"><code>c24389f</code></a> Staging unstaged</li>
<li>Additional commits viewable in <a href="https://github.com/actions/setup-node/compare/v2.3.0...v2.4.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.3.0&new-version=2.4.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>
  • Loading branch information
dependabot[bot] authored Aug 10, 2021
1 parent 1201f23 commit bedd8c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
needs: pre_condition
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: npm install && npm run lint
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: .github/workflows/build-and-test.sh
Expand All @@ -88,7 +88,7 @@ jobs:
ros_distribution: [foxy, galactic]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: .github/workflows/build-and-test.sh
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: .github/workflows/build-and-test.sh
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
DISTRO_REPOS_URL: "https://raw.githubusercontent.com/ros2/ros2/${{ matrix.ros_distribution == 'rolling' && 'master' || matrix.ros_distribution }}/ros2.repos"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: .github/workflows/build-and-test.sh
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.3.0
- uses: actions/setup-node@v2.4.0
with:
node-version: "12.x"
- run: .github/workflows/build-and-test.sh
Expand Down

0 comments on commit bedd8c1

Please sign in to comment.