You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/02/03 02:10:07 UTC

[PR] Bump actions/setup-node from 1 to 3 (streampipes)

dependabot[bot] opened a new pull request, #1218:
URL: https://github.com/apache/streampipes/pull/1218

   Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
   <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>Add support for asdf format and update actions/cache version to 3.0.0</h2>
   <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes for <a href="https://github-redirect.dependabot.com/actions/setup-node/pull/526">caching error handling</a>. Moreover, we added support for asdf format as Node.js version file <a href="https://github-redirect.dependabot.com/actions/setup-node/pull/373">actions/setup-node#373</a>. Besides, we introduced new output <a href="https://github-redirect.dependabot.com/actions/setup-node/pull/534">node-version</a> and added <code>npm-shrinkwrap.json</code> to dependency file patterns: <a href="https://github-redirect.dependabot.com/actions/setup-node/pull/439">actions/setup-node#439</a></p>
   <h2>Update actions/cache version to 2.0.2</h2>
   <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes related to GHES 3.5 (<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/460">actions/setup-node#460</a>)</p>
   <h2>v3.0.0</h2>
   <p>In scope of this release we changed version of the runtime Node.js for the setup-node action and updated package-lock.json file to  v2.</p>
   <h3>Breaking Changes</h3>
   <ul>
   <li>With the update to Node 16 in <a href="https://github-redirect.dependabot.com/actions/setup-node/pull/414">actions/setup-node#414</a>, all scripts will now be run with Node 16 rather than Node 12.</li>
   <li>We removed deprecated <code>version</code> input (<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/424">actions/setup-node#424</a>). Please use <code>node-version</code> input instead.</li>
   </ul>
   <h2>Fix logic of error handling for npm warning and uncaught exception</h2>
   <p>In scope of this release we fix logic of error handling related to caching (<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/358">actions/setup-node#358</a>) and (<a href="https://github-redirect.dependabot.com/actions/setup-node/pull/359">actions/setup-node#359</a>).</p>
   <p>In the previous behaviour we relied on <code>stderr</code> 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.</p>
   <h2>Adding Node.js version file support</h2>
   <p>In scope of this release we add the <code>node-version-file</code> input and update <code>actions/cache</code> dependency to the latest version.</p>
   <h2>Adding Node.js version file support</h2>
   <p>The new input (<code>node-version-file</code>) provides functionality to specify the path to the file containing Node.js's version with such behaviour:</p>
   <ul>
   <li>If the file does not exist the action will throw an error.</li>
   <li>If you specify both <code>node-version</code> and <code>node-version-file</code> inputs, the action will use value from the <code>node-version</code> input and throw the following warning: <code>Both node-version and node-version-file inputs are specified, only node-version will be used</code>.</li>
   <li>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 <a href="https://github.com/actions/setup-node#supported-version-syntax">documentation</a> and values with <code>v</code> prefix (<code>v14</code>)</li>
   </ul>
   <pre lang="yaml"><code>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
   </code></pre>
   <h2>Update actions/cache dependency to 1.0.8 version.</h2>
   <p>We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the <a href="https://github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md">toolkit/cache</a>.</p>
   <h2>Add &quot;cache-hit&quot; output</h2>
   <p>This release introduces a new output: <code>cache-hit</code> (<a href="https://github-redirect.dependabot.com/actions/setup-node/issues/327">#327</a>).</p>
   <p>The <code>cache-hit</code> output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.</p>
   <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>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/actions/setup-node/commit/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c"><code>64ed1c7</code></a> Add support for v8-canary, nightly and rc (<a href="https://github-redirect.dependabot.com/actions/setup-node/issues/655">#655</a>)</li>
   <li><a href="https://github.com/actions/setup-node/commit/92a57f4a935efe978b0a4d8e5b19fb42658c7ef7"><code>92a57f4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/650">#650</a> from actions/update-code-owners</li>
   <li><a href="https://github.com/actions/setup-node/commit/99e61d697ac985dd26c630fb5e8f9476131abbdb"><code>99e61d6</code></a> Update CODEOWNERS</li>
   <li><a href="https://github.com/actions/setup-node/commit/3e8819f8f297df8b29fc3e383683a29be2bf129a"><code>3e8819f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/649">#649</a> from actions/update-codeowners</li>
   <li><a href="https://github.com/actions/setup-node/commit/8cd2fb28b8f13cfe537ae737100b155acc87e562"><code>8cd2fb2</code></a> Update CODEOWNERS</li>
   <li><a href="https://github.com/actions/setup-node/commit/c406543918243bdbe7b25799f6a378e753fed484"><code>c406543</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/setup-node/issues/647">#647</a> from akv-platform/apply-reusable-workflows</li>
   <li><a href="https://github.com/actions/setup-node/commit/92a07fe46640c3ab57d394b7b01308a008a3231d"><code>92a07fe</code></a> Fix review points</li>
   <li><a href="https://github.com/actions/setup-node/commit/217387cf3e2597f3eed81c19f662eeddbdd397de"><code>217387c</code></a> Update action to use reusable-workflows repo</li>
   <li><a href="https://github.com/actions/setup-node/commit/2db36638708d0ad3215bcdff9f8a61d64021ae68"><code>2db3663</code></a> Merge branch 'main' of <a href="https://github.com/akv-platform/setup-node">https://github.com/akv-platform/setup-node</a> into apply-...</li>
   <li><a href="https://github.com/actions/setup-node/commit/bbe2ac79a1347190c27c8a7ca53301a26c066415"><code>bbe2ac7</code></a> Fix typo in README (<a href="https://github-redirect.dependabot.com/actions/setup-node/issues/646">#646</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/actions/setup-node/compare/v1...v3">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=1&new-version=3)](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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump actions/setup-node from 1 to 3 (streampipes)

Posted by "tenthe (via GitHub)" <gi...@apache.org>.
tenthe merged PR #1218:
URL: https://github.com/apache/streampipes/pull/1218


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@streampipes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org