AlexRogalskiy / github-action-node-dependency

☋ GitHub action for node dependency reports
https://github.com/marketplace/actions/node-dependency
GNU General Public License v3.0
3 stars 1 forks source link

:arrow_up: Updates actions/setup-node action to v4 #515

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
actions/setup-node action major v2.1.4 -> v4.1.0

Release Notes

actions/setup-node (actions/setup-node) ### [`v4.1.0`](https://redirect.github.com/actions/setup-node/compare/v4.0.4...v4.1.0) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4.0.4...v4.1.0) ### [`v4.0.4`](https://redirect.github.com/actions/setup-node/compare/v4.0.3...v4.0.4) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4.0.3...v4.0.4) ### [`v4.0.3`](https://redirect.github.com/actions/setup-node/compare/v4.0.2...v4.0.3) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4.0.2...v4.0.3) ### [`v4.0.2`](https://redirect.github.com/actions/setup-node/releases/tag/v4.0.2) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4.0.1...v4.0.2) ##### What's Changed - Add support for `volta.extends` by [@​ThisIsManta](https://redirect.github.com/ThisIsManta) in [https://github.com/actions/setup-node/pull/921](https://redirect.github.com/actions/setup-node/pull/921) - Add support for arm64 Windows by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/927](https://redirect.github.com/actions/setup-node/pull/927) ##### New Contributors - [@​ThisIsManta](https://redirect.github.com/ThisIsManta) made their first contribution in [https://github.com/actions/setup-node/pull/921](https://redirect.github.com/actions/setup-node/pull/921) **Full Changelog**: https://github.com/actions/setup-node/compare/v4.0.1...v4.0.2 ### [`v4.0.1`](https://redirect.github.com/actions/setup-node/releases/tag/v4.0.1) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v4.0.0...v4.0.1) ##### What's Changed - Ignore engines in Yarn 1 e2e-cache tests by [@​trivikr](https://redirect.github.com/trivikr) in [https://github.com/actions/setup-node/pull/882](https://redirect.github.com/actions/setup-node/pull/882) - Update setup-node references in the README.md file to setup-node@v4 by [@​jwetzell](https://redirect.github.com/jwetzell) in [https://github.com/actions/setup-node/pull/884](https://redirect.github.com/actions/setup-node/pull/884) - Update reusable workflows to use Node.js v20 by [@​MaksimZhukov](https://redirect.github.com/MaksimZhukov) in [https://github.com/actions/setup-node/pull/889](https://redirect.github.com/actions/setup-node/pull/889) - Add fix for cache to resolve slow post action step by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-node/pull/917](https://redirect.github.com/actions/setup-node/pull/917) - Fix README.md by [@​takayamaki](https://redirect.github.com/takayamaki) in [https://github.com/actions/setup-node/pull/898](https://redirect.github.com/actions/setup-node/pull/898) - Add `package.json` to `node-version-file` list of examples. by [@​TWiStErRob](https://redirect.github.com/TWiStErRob) in [https://github.com/actions/setup-node/pull/879](https://redirect.github.com/actions/setup-node/pull/879) - Fix node-version-file interprets entire package.json as a version by [@​NullVoxPopuli](https://redirect.github.com/NullVoxPopuli) in [https://github.com/actions/setup-node/pull/865](https://redirect.github.com/actions/setup-node/pull/865) ##### New Contributors - [@​trivikr](https://redirect.github.com/trivikr) made their first contribution in [https://github.com/actions/setup-node/pull/882](https://redirect.github.com/actions/setup-node/pull/882) - [@​jwetzell](https://redirect.github.com/jwetzell) made their first contribution in [https://github.com/actions/setup-node/pull/884](https://redirect.github.com/actions/setup-node/pull/884) - [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) made their first contribution in [https://github.com/actions/setup-node/pull/917](https://redirect.github.com/actions/setup-node/pull/917) - [@​takayamaki](https://redirect.github.com/takayamaki) made their first contribution in [https://github.com/actions/setup-node/pull/898](https://redirect.github.com/actions/setup-node/pull/898) - [@​TWiStErRob](https://redirect.github.com/TWiStErRob) made their first contribution in [https://github.com/actions/setup-node/pull/879](https://redirect.github.com/actions/setup-node/pull/879) - [@​NullVoxPopuli](https://redirect.github.com/NullVoxPopuli) made their first contribution in [https://github.com/actions/setup-node/pull/865](https://redirect.github.com/actions/setup-node/pull/865) **Full Changelog**: https://github.com/actions/setup-node/compare/v4...v4.0.1 ### [`v4.0.0`](https://redirect.github.com/actions/setup-node/releases/tag/v4.0.0) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.8.2...v4.0.0) ##### What's Changed In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in [https://github.com/actions/setup-node/pull/866](https://redirect.github.com/actions/setup-node/pull/866) Besides, release contains such changes as: - Upgrade actions/checkout to v4 by [@​gmembre-zenika](https://redirect.github.com/gmembre-zenika) in [https://github.com/actions/setup-node/pull/868](https://redirect.github.com/actions/setup-node/pull/868) - Update actions/checkout for documentation and yaml by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/876](https://redirect.github.com/actions/setup-node/pull/876) ##### New Contributors - [@​gmembre-zenika](https://redirect.github.com/gmembre-zenika) made their first contribution in [https://github.com/actions/setup-node/pull/868](https://redirect.github.com/actions/setup-node/pull/868) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v4.0.0 ### [`v3.8.2`](https://redirect.github.com/actions/setup-node/releases/tag/v3.8.2) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.8.1...v3.8.2) ##### What's Changed - Update semver by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/861](https://redirect.github.com/actions/setup-node/pull/861) - Update temp directory creation by [@​nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/859](https://redirect.github.com/actions/setup-node/pull/859) - Bump [@​babel/traverse](https://redirect.github.com/babel/traverse) from 7.15.4 to 7.23.2 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-node/pull/870](https://redirect.github.com/actions/setup-node/pull/870) - Add notice about binaries not being updated yet by [@​nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/872](https://redirect.github.com/actions/setup-node/pull/872) - Update toolkit cache and core by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) and [@​seongwon-privatenote](https://redirect.github.com/seongwon-privatenote) in [https://github.com/actions/setup-node/pull/875](https://redirect.github.com/actions/setup-node/pull/875) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.2 ### [`v3.8.1`](https://redirect.github.com/actions/setup-node/releases/tag/v3.8.1) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.8.0...v3.8.1) #### What's Changed In scope of this release, the filter was removed within the cache-save step by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/831](https://redirect.github.com/actions/setup-node/pull/831). It is filtered and checked in the toolkit/cache library. **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.1 ### [`v3.8.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.8.0) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.7.0...v3.8.0) ##### What's Changed ##### Bug fixes: - Add check for existing paths by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/803](https://redirect.github.com/actions/setup-node/pull/803) - Resolve SymbolicLink by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/809](https://redirect.github.com/actions/setup-node/pull/809) - Change passing logic for cache input by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/816](https://redirect.github.com/actions/setup-node/pull/816) - Fix armv7 cache issue by [@​louislam](https://redirect.github.com/louislam) in [https://github.com/actions/setup-node/pull/794](https://redirect.github.com/actions/setup-node/pull/794) - Update check-dist workflow name by [@​sinchang](https://redirect.github.com/sinchang) in [https://github.com/actions/setup-node/pull/710](https://redirect.github.com/actions/setup-node/pull/710) ##### Feature implementations: - feat: handling the case where "node" is used for tool-versions file. by [@​xytis](https://redirect.github.com/xytis) in [https://github.com/actions/setup-node/pull/812](https://redirect.github.com/actions/setup-node/pull/812) ##### Documentation changes: - Refer to semver package name in README.md by [@​olleolleolle](https://redirect.github.com/olleolleolle) in [https://github.com/actions/setup-node/pull/808](https://redirect.github.com/actions/setup-node/pull/808) ##### Update dependencies: - Update toolkit cache to fix zstd by [@​dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/804](https://redirect.github.com/actions/setup-node/pull/804) - Bump tough-cookie and [@​azure/ms-rest-js](https://redirect.github.com/azure/ms-rest-js) by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-node/pull/802](https://redirect.github.com/actions/setup-node/pull/802) - Bump semver from 6.1.2 to 6.3.1 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-node/pull/807](https://redirect.github.com/actions/setup-node/pull/807) - Bump word-wrap from 1.2.3 to 1.2.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-node/pull/815](https://redirect.github.com/actions/setup-node/pull/815) ##### New Contributors - [@​olleolleolle](https://redirect.github.com/olleolleolle) made their first contribution in [https://github.com/actions/setup-node/pull/808](https://redirect.github.com/actions/setup-node/pull/808) - [@​louislam](https://redirect.github.com/louislam) made their first contribution in [https://github.com/actions/setup-node/pull/794](https://redirect.github.com/actions/setup-node/pull/794) - [@​sinchang](https://redirect.github.com/sinchang) made their first contribution in [https://github.com/actions/setup-node/pull/710](https://redirect.github.com/actions/setup-node/pull/710) - [@​xytis](https://redirect.github.com/xytis) made their first contribution in [https://github.com/actions/setup-node/pull/812](https://redirect.github.com/actions/setup-node/pull/812) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.0 ### [`v3.7.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.7.0) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.6.0...v3.7.0) #### What's Changed In scope of this release we added a logic to save an additional cache path for yarn 3 ([related pull request](https://redirect.github.com/actions/setup-node/pull/744) and [feature request](https://redirect.github.com/actions/setup-node/issues/325)). Moreover, we added functionality to use all the sub directories derived from `cache-dependency-path` input and add detect all dependencies directories to cache (related [pull request](https://redirect.github.com/actions/setup-node/pull/735) and [feature request](https://redirect.github.com/actions/setup-node/issues/488)). ##### Besides, we made such changes as: - Replace workflow badge with new badge by [@​jongwooo](https://redirect.github.com/jongwooo) in [https://github.com/actions/setup-node/pull/653](https://redirect.github.com/actions/setup-node/pull/653) - Fix a minor typo by [@​phanan](https://redirect.github.com/phanan) in [https://github.com/actions/setup-node/pull/662](https://redirect.github.com/actions/setup-node/pull/662) - docs: fix typo in advanced-usage.md by [@​remarkablemark](https://redirect.github.com/remarkablemark) in [https://github.com/actions/setup-node/pull/697](https://redirect.github.com/actions/setup-node/pull/697) - bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes by [@​domdomegg](https://redirect.github.com/domdomegg) in [https://github.com/actions/setup-node/pull/718](https://redirect.github.com/actions/setup-node/pull/718) - Update to node 18.x by [@​feelepxyz](https://redirect.github.com/feelepxyz) in [https://github.com/actions/setup-node/pull/751](https://redirect.github.com/actions/setup-node/pull/751) - Remove implicit dependencies by [@​nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/758](https://redirect.github.com/actions/setup-node/pull/758) - Fix description about ensuring workflow access to private package by [@​x86chi](https://redirect.github.com/x86chi) in [https://github.com/actions/setup-node/pull/704](https://redirect.github.com/actions/setup-node/pull/704) #### New Contributors - [@​jongwooo](https://redirect.github.com/jongwooo) made their first contribution in [https://github.com/actions/setup-node/pull/653](https://redirect.github.com/actions/setup-node/pull/653) - [@​phanan](https://redirect.github.com/phanan) made their first contribution in [https://github.com/actions/setup-node/pull/662](https://redirect.github.com/actions/setup-node/pull/662) - [@​remarkablemark](https://redirect.github.com/remarkablemark) made their first contribution in [https://github.com/actions/setup-node/pull/697](https://redirect.github.com/actions/setup-node/pull/697) - [@​domdomegg](https://redirect.github.com/domdomegg) made their first contribution in [https://github.com/actions/setup-node/pull/718](https://redirect.github.com/actions/setup-node/pull/718) - [@​feelepxyz](https://redirect.github.com/feelepxyz) made their first contribution in [https://github.com/actions/setup-node/pull/751](https://redirect.github.com/actions/setup-node/pull/751) - [@​nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-node/pull/758](https://redirect.github.com/actions/setup-node/pull/758) - [@​x86chi](https://redirect.github.com/x86chi) made their first contribution in [https://github.com/actions/setup-node/pull/704](https://redirect.github.com/actions/setup-node/pull/704) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.7.0 ### [`v3.6.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.6.0): Add Support for Nightly, Canary and RC builds for Node.js [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.5.1...v3.6.0) In scope of this release we added support to download nightly, rc ([https://github.com/actions/setup-node/pull/611](https://redirect.github.com/actions/setup-node/pull/611)) and canary ([https://github.com/actions/setup-node/pull/619](https://redirect.github.com/actions/setup-node/pull/619)) Node.js distributions. ##### For nightly versions: ```yaml jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16-nightly' - run: npm ci - run: npm test ``` ##### For canary versions: ```yaml jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16-v8-canary’ - run: npm ci - run: npm test ``` ##### For rc versions: ```yaml jobs: build: runs-on: ubuntu-latest name: Node sample steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16.0.0-rc.1’ - run: npm ci - run: npm test ``` Note: For more examples please refer to [documentation](https://redirect.github.com/actions/setup-node#advanced-usage). Besides, we added the following changes as: - Updated minimatch: [https://github.com/actions/setup-node/pull/608](https://redirect.github.com/actions/setup-node/pull/608) - Fixed extra newline character in version output when reading from a file: [https://github.com/actions/setup-node/pull/625](https://redirect.github.com/actions/setup-node/pull/625) - Passed the token input through on GHES: [https://github.com/actions/setup-node/pull/595](https://redirect.github.com/actions/setup-node/pull/595) - Fixed issue with scoped registries are duplicated in npmrc: [https://github.com/actions/setup-node/pull/637](https://redirect.github.com/actions/setup-node/pull/637) ### [`v3.5.1`](https://redirect.github.com/actions/setup-node/releases/tag/v3.5.1): Update @​actions/core and Print Node, Npm, Yarn versions [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.5.0...v3.5.1) In scope of this release we updated [actions/core to 1.10.0](https://redirect.github.com/actions/setup-node/pull/587). Moreover, we added logic [to print Nodejs, Npm, Yarn versions](https://redirect.github.com/actions/setup-node/pull/368) after installation. ### [`v3.5.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.5.0): Add support for engines.node and Volta [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.4.1...v3.5.0) In scope of this release we add support for engines.node. The action will be able to grab the version form package.json#engines.node. [https://github.com/actions/setup-node/pull/485](https://redirect.github.com/actions/setup-node/pull/485). Moreover, we [added support for Volta](https://redirect.github.com/actions/setup-node/pull/532) Besides, we updated [@​actions/core to 1.9.1](https://redirect.github.com/actions/setup-node/pull/574) and [@​actions/cache to 3.0.4](https://redirect.github.com/actions/setup-node/pull/573) ### [`v3.4.1`](https://redirect.github.com/actions/setup-node/releases/tag/v3.4.1): Fix pnpm output and node-version output issues [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.4.0...v3.4.1) In scope of this release we fixed bugs related to the pnpm 7.5.1 output issue from `pnpm store path` [https://github.com/actions/setup-node/pull/545](https://redirect.github.com/actions/setup-node/pull/545). Moreover we fixed the issue with falling on node-version output [https://github.com/actions/setup-node/pull/540](https://redirect.github.com/actions/setup-node/pull/540). ### [`v3.4.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.4.0): Add support for asdf format and update actions/cache version to 3.0.0 [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.3.0...v3.4.0) In scope of this release we updated `actions/cache` package as the new version contains fixes for [caching error handling](https://redirect.github.com/actions/setup-node/pull/526). Moreover, we added support for asdf format as Node.js version file [https://github.com/actions/setup-node/pull/373](https://redirect.github.com/actions/setup-node/pull/373). Besides, we introduced new output [node-version](https://redirect.github.com/actions/setup-node/pull/534) and added `npm-shrinkwrap.json` to dependency file patterns: [https://github.com/actions/setup-node/pull/439](https://redirect.github.com/actions/setup-node/pull/439) ### [`v3.3.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.3.0): Add support for lts/-n aliases [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.2.0...v3.3.0) In scope of this release we added support for `lts/-n` aliases, improve logic for `current`, `latest` and `node` aliases to handle them from `toolcache`, update `ncc` package. ##### Support of lts/-n aliases - Related pull request: [https://github.com/actions/setup-node/pull/481](https://redirect.github.com/actions/setup-node/pull/481) - Related issue: [https://github.com/actions/setup-node/issues/26](https://redirect.github.com/actions/setup-node/issues/26) ```yaml steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: lts/-1 - run: npm ci - run: npm test ``` ##### Minor improvements - Update zeit/ncc to vercel/ncc: [https://github.com/actions/setup-node/pull/476](https://redirect.github.com/actions/setup-node/pull/476) - Get latest version from cache if exists: [https://github.com/actions/setup-node/pull/496](https://redirect.github.com/actions/setup-node/pull/496) ### [`v3.2.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.2.0): Add current, node, latest aliases [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.1.1...v3.2.0) In scope of this release we added new aliases to install the latest Node.js version. [https://github.com/actions/setup-node/pull/483](https://redirect.github.com/actions/setup-node/pull/483) ```yml steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: current - run: npm ci - run: npm test ``` ### [`v3.1.1`](https://redirect.github.com/actions/setup-node/releases/tag/v3.1.1): Update actions/cache version to 2.0.2 [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.1.0...v3.1.1) In scope of this release we updated `actions/cache` package as the new version contains fixes related to GHES 3.5 ([https://github.com/actions/setup-node/pull/460](https://redirect.github.com/actions/setup-node/pull/460)) ### [`v3.1.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.1.0): Add caching support on GHES 3.5 [Compare Source](https://redirect.github.com/actions/setup-node/compare/v3.0.0...v3.1.0) In scope of this release we added [support for caching from GHES 3.5](https://redirect.github.com/actions/setup-node/pull/452) and fixed download issue for files > 2GB during restore. Besides, we updated `actions/cache` dependency to 2.0.0 version. ### [`v3.0.0`](https://redirect.github.com/actions/setup-node/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.5.2...v3.0.0) 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. ##### Breaking Changes - With the update to Node 16 in [https://github.com/actions/setup-node/pull/414](https://redirect.github.com/actions/setup-node/pull/414), all scripts will now be run with Node 16 rather than Node 12. - We removed deprecated `version` input ([https://github.com/actions/setup-node/pull/424](https://redirect.github.com/actions/setup-node/pull/424)). Please use `node-version` input instead. ### [`v2.5.2`](https://redirect.github.com/actions/setup-node/releases/tag/v2.5.2): Update @​actions/core for v2 [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.5.1...v2.5.2) In scope of this release we updated actions/core to 1.10.0 and actions/tool-cache to 1.7.2 for v2: [https://github.com/actions/setup-node/pull/713](https://redirect.github.com/actions/setup-node/pull/713) ### [`v2.5.1`](https://redirect.github.com/actions/setup-node/releases/tag/v2.5.1): Fix logic of error handling for npm warning and uncaught exception [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.5.0...v2.5.1) In scope of this release we fix logic of error handling related to caching ([https://github.com/actions/setup-node/pull/358](https://redirect.github.com/actions/setup-node/pull/358)) and ([https://github.com/actions/setup-node/pull/359](https://redirect.github.com/actions/setup-node/pull/359)). In the previous behaviour we relied on `stderr` 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. ### [`v2.5.0`](https://redirect.github.com/actions/setup-node/releases/tag/v2.5.0): Adding Node.js version file support [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.4.1...v2.5.0) In scope of this release we add the `node-version-file` input and update `actions/cache` dependency to the latest version. ##### Adding Node.js version file support The new input (`node-version-file`) provides functionality to specify the path to the file containing Node.js's version with such behaviour: - If the file does not exist the action will throw an error. - If you specify both `node-version` and `node-version-file` inputs, the action will use value from the `node-version` input and throw the following warning: `Both node-version and node-version-file inputs are specified, only node-version will be used`. - 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 [documentation](https://redirect.github.com/actions/setup-node#supported-version-syntax) and values with `v` prefix (`v14`) ```yaml 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 ``` ##### Update actions/cache dependency to 1.0.8 version. We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the [toolkit/cache](https://redirect.github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md). ### [`v2.4.1`](https://redirect.github.com/actions/setup-node/releases/tag/v2.4.1): Add "cache-hit" output [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.4.0...v2.4.1) This release introduces a new output: `cache-hit` ([#​327](https://redirect.github.com/actions/setup-node/issues/327)). The `cache-hit` 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. ### [`v2.4.0`](https://redirect.github.com/actions/setup-node/releases/tag/v2.4.0): Support caching for mono repos and repositories with complex structure [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.3.2...v2.4.0) This release introduces dependency caching support for mono repos and repositories with complex structure ([#​305](https://redirect.github.com/actions/setup-node/issues/305)). By default, the action searches for the dependency file (`package-lock.json` or `yarn.lock`) in the repository root. Use the `cache-dependency-path` 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. Yaml example: ```yml steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: 14 cache: npm cache-dependency-path: 'sub-project/package-lock.json' ``` For more examples of using `cache-dependency-path` input, see the [Advanced usage](https://redirect.github.com/actions/setup-node/blob/25316bbc1f10ac9d8798711f44914b1cf3c4e954/docs/advanced-usage.md#caching-packages-dependencies) guide. ### [`v2.3.2`](https://redirect.github.com/actions/setup-node/releases/tag/v2.3.2): Revert temporary fix [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.3.1...v2.3.2) 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. ### [`v2.3.1`](https://redirect.github.com/actions/setup-node/releases/tag/v2.3.1): Temporary maintenance fix. [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.3.0...v2.3.1) Temporarily disabled usage of pre-cached Node.js. ### [`v2.3.0`](https://redirect.github.com/actions/setup-node/releases/tag/v2.3.0): Support caching pnpm dependencies [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.2.0...v2.3.0) This release introduces dependency caching support for the `pnpm` package manager ([#​278](https://redirect.github.com/actions/setup-node/issues/278)). **Caching pnpm dependencies:** ```yaml ### 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 ### [`v2.2.0`](https://redirect.github.com/actions/setup-node/releases/tag/v2.2.0): Support caching dependencies and LTS aliases [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.1.5...v2.2.0) This release brings two major features: - [Support LTS aliases #​270](https://redirect.github.com/actions/setup-node/pull/270) - [Implementation of node's caching #​272](https://redirect.github.com/actions/setup-node/pull/272) ##### 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:** ```yaml 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:** ```yaml 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. ### [`v2.1.5`](https://redirect.github.com/actions/setup-node/releases/tag/v2.1.5): Release [Compare Source](https://redirect.github.com/actions/setup-node/compare/v2.1.4...v2.1.5) Improve error and warning line number handling (problem matcher regex)

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

viezly[bot] commented 1 year ago

Pull request by bot. No need to analyze

github-actions[bot] commented 1 year ago

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

github-actions[bot] commented 1 year ago

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

github-actions[bot] commented 1 year ago

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.