actions/setup-node (actions/setup-node)
### [`v3.8.2`](https://togithub.com/actions/setup-node/releases/tag/v3.8.2)
[Compare Source](https://togithub.com/actions/setup-node/compare/v3.8.1...v3.8.2)
##### What's Changed
- Update semver by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/861](https://togithub.com/actions/setup-node/pull/861)
- Update temp directory creation by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/859](https://togithub.com/actions/setup-node/pull/859)
- Bump [@babel/traverse](https://togithub.com/babel/traverse) from 7.15.4 to 7.23.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/870](https://togithub.com/actions/setup-node/pull/870)
- Add notice about binaries not being updated yet by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/872](https://togithub.com/actions/setup-node/pull/872)
- Update toolkit cache and core by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) and [@seongwon-privatenote](https://togithub.com/seongwon-privatenote) in [https://github.com/actions/setup-node/pull/875](https://togithub.com/actions/setup-node/pull/875)
**Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.2
### [`v3.8.1`](https://togithub.com/actions/setup-node/releases/tag/v3.8.1)
[Compare Source](https://togithub.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://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/831](https://togithub.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://togithub.com/actions/setup-node/releases/tag/v3.8.0)
[Compare Source](https://togithub.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://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/803](https://togithub.com/actions/setup-node/pull/803)
- Resolve SymbolicLink by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/809](https://togithub.com/actions/setup-node/pull/809)
- Change passing logic for cache input by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/816](https://togithub.com/actions/setup-node/pull/816)
- Fix armv7 cache issue by [@louislam](https://togithub.com/louislam) in [https://github.com/actions/setup-node/pull/794](https://togithub.com/actions/setup-node/pull/794)
- Update check-dist workflow name by [@sinchang](https://togithub.com/sinchang) in [https://github.com/actions/setup-node/pull/710](https://togithub.com/actions/setup-node/pull/710)
##### Feature implementations:
- feat: handling the case where "node" is used for tool-versions file. by [@xytis](https://togithub.com/xytis) in [https://github.com/actions/setup-node/pull/812](https://togithub.com/actions/setup-node/pull/812)
##### Documentation changes:
- Refer to semver package name in README.md by [@olleolleolle](https://togithub.com/olleolleolle) in [https://github.com/actions/setup-node/pull/808](https://togithub.com/actions/setup-node/pull/808)
##### Update dependencies:
- Update toolkit cache to fix zstd by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/804](https://togithub.com/actions/setup-node/pull/804)
- Bump tough-cookie and [@azure/ms-rest-js](https://togithub.com/azure/ms-rest-js) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/802](https://togithub.com/actions/setup-node/pull/802)
- Bump semver from 6.1.2 to 6.3.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/807](https://togithub.com/actions/setup-node/pull/807)
- Bump word-wrap from 1.2.3 to 1.2.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/815](https://togithub.com/actions/setup-node/pull/815)
##### New Contributors
- [@olleolleolle](https://togithub.com/olleolleolle) made their first contribution in [https://github.com/actions/setup-node/pull/808](https://togithub.com/actions/setup-node/pull/808)
- [@louislam](https://togithub.com/louislam) made their first contribution in [https://github.com/actions/setup-node/pull/794](https://togithub.com/actions/setup-node/pull/794)
- [@sinchang](https://togithub.com/sinchang) made their first contribution in [https://github.com/actions/setup-node/pull/710](https://togithub.com/actions/setup-node/pull/710)
- [@xytis](https://togithub.com/xytis) made their first contribution in [https://github.com/actions/setup-node/pull/812](https://togithub.com/actions/setup-node/pull/812)
**Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.0
### [`v3.7.0`](https://togithub.com/actions/setup-node/releases/tag/v3.7.0)
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/744) and [feature request](https://togithub.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://togithub.com/actions/setup-node/pull/735) and [feature request](https://togithub.com/actions/setup-node/issues/488)).
##### Besides, we made such changes as:
- Replace workflow badge with new badge by [@jongwooo](https://togithub.com/jongwooo) in [https://github.com/actions/setup-node/pull/653](https://togithub.com/actions/setup-node/pull/653)
- Fix a minor typo by [@phanan](https://togithub.com/phanan) in [https://github.com/actions/setup-node/pull/662](https://togithub.com/actions/setup-node/pull/662)
- docs: fix typo in advanced-usage.md by [@remarkablemark](https://togithub.com/remarkablemark) in [https://github.com/actions/setup-node/pull/697](https://togithub.com/actions/setup-node/pull/697)
- bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes by [@domdomegg](https://togithub.com/domdomegg) in [https://github.com/actions/setup-node/pull/718](https://togithub.com/actions/setup-node/pull/718)
- Update to node 18.x by [@feelepxyz](https://togithub.com/feelepxyz) in [https://github.com/actions/setup-node/pull/751](https://togithub.com/actions/setup-node/pull/751)
- Remove implicit dependencies by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/758](https://togithub.com/actions/setup-node/pull/758)
- Fix description about ensuring workflow access to private package by [@x86chi](https://togithub.com/x86chi) in [https://github.com/actions/setup-node/pull/704](https://togithub.com/actions/setup-node/pull/704)
#### New Contributors
- [@jongwooo](https://togithub.com/jongwooo) made their first contribution in [https://github.com/actions/setup-node/pull/653](https://togithub.com/actions/setup-node/pull/653)
- [@phanan](https://togithub.com/phanan) made their first contribution in [https://github.com/actions/setup-node/pull/662](https://togithub.com/actions/setup-node/pull/662)
- [@remarkablemark](https://togithub.com/remarkablemark) made their first contribution in [https://github.com/actions/setup-node/pull/697](https://togithub.com/actions/setup-node/pull/697)
- [@domdomegg](https://togithub.com/domdomegg) made their first contribution in [https://github.com/actions/setup-node/pull/718](https://togithub.com/actions/setup-node/pull/718)
- [@feelepxyz](https://togithub.com/feelepxyz) made their first contribution in [https://github.com/actions/setup-node/pull/751](https://togithub.com/actions/setup-node/pull/751)
- [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-node/pull/758](https://togithub.com/actions/setup-node/pull/758)
- [@x86chi](https://togithub.com/x86chi) made their first contribution in [https://github.com/actions/setup-node/pull/704](https://togithub.com/actions/setup-node/pull/704)
**Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.7.0
### [`v3.6.0`](https://togithub.com/actions/setup-node/releases/tag/v3.6.0): Add Support for Nightly, Canary and RC builds for Node.js
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/611)) and canary ([https://github.com/actions/setup-node/pull/619](https://togithub.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://togithub.com/actions/setup-node#advanced-usage).
Besides, we added the following changes as:
- Updated minimatch: [https://github.com/actions/setup-node/pull/608](https://togithub.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://togithub.com/actions/setup-node/pull/625)
- Passed the token input through on GHES: [https://github.com/actions/setup-node/pull/595](https://togithub.com/actions/setup-node/pull/595)
- Fixed issue with scoped registries are duplicated in npmrc: [https://github.com/actions/setup-node/pull/637](https://togithub.com/actions/setup-node/pull/637)
### [`v3.5.1`](https://togithub.com/actions/setup-node/releases/tag/v3.5.1): Update @actions/core and Print Node, Npm, Yarn versions
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/587). Moreover, we added logic [to print Nodejs, Npm, Yarn versions](https://togithub.com/actions/setup-node/pull/368) after installation.
### [`v3.5.0`](https://togithub.com/actions/setup-node/releases/tag/v3.5.0): Add support for engines.node and Volta
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/485). Moreover, we [added support for Volta](https://togithub.com/actions/setup-node/pull/532)
Besides, we updated [@actions/core to 1.9.1](https://togithub.com/actions/setup-node/pull/574) and [@actions/cache to 3.0.4](https://togithub.com/actions/setup-node/pull/573)
### [`v3.4.1`](https://togithub.com/actions/setup-node/releases/tag/v3.4.1): Fix pnpm output and node-version output issues
[Compare Source](https://togithub.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://togithub.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://togithub.com/actions/setup-node/pull/540).
### [`v3.4.0`](https://togithub.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://togithub.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://togithub.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://togithub.com/actions/setup-node/pull/373). Besides, we introduced new output [node-version](https://togithub.com/actions/setup-node/pull/534) and added `npm-shrinkwrap.json` to dependency file patterns: [https://github.com/actions/setup-node/pull/439](https://togithub.com/actions/setup-node/pull/439)
### [`v3.3.0`](https://togithub.com/actions/setup-node/releases/tag/v3.3.0): Add support for lts/-n aliases
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/481)
- Related issue: [https://github.com/actions/setup-node/issues/26](https://togithub.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://togithub.com/actions/setup-node/pull/476)
- Get latest version from cache if exists: [https://github.com/actions/setup-node/pull/496](https://togithub.com/actions/setup-node/pull/496)
### [`v3.2.0`](https://togithub.com/actions/setup-node/releases/tag/v3.2.0): Add current, node, latest aliases
[Compare Source](https://togithub.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://togithub.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://togithub.com/actions/setup-node/releases/tag/v3.1.1): Update actions/cache version to 2.0.2
[Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/460))
### [`v3.1.0`](https://togithub.com/actions/setup-node/releases/tag/v3.1.0): Add caching support on GHES 3.5
[Compare Source](https://togithub.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://togithub.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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v3.0.0
->v3.8.2
Release Notes
actions/setup-node (actions/setup-node)
### [`v3.8.2`](https://togithub.com/actions/setup-node/releases/tag/v3.8.2) [Compare Source](https://togithub.com/actions/setup-node/compare/v3.8.1...v3.8.2) ##### What's Changed - Update semver by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/861](https://togithub.com/actions/setup-node/pull/861) - Update temp directory creation by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/859](https://togithub.com/actions/setup-node/pull/859) - Bump [@babel/traverse](https://togithub.com/babel/traverse) from 7.15.4 to 7.23.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/870](https://togithub.com/actions/setup-node/pull/870) - Add notice about binaries not being updated yet by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/872](https://togithub.com/actions/setup-node/pull/872) - Update toolkit cache and core by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) and [@seongwon-privatenote](https://togithub.com/seongwon-privatenote) in [https://github.com/actions/setup-node/pull/875](https://togithub.com/actions/setup-node/pull/875) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.2 ### [`v3.8.1`](https://togithub.com/actions/setup-node/releases/tag/v3.8.1) [Compare Source](https://togithub.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://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/831](https://togithub.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://togithub.com/actions/setup-node/releases/tag/v3.8.0) [Compare Source](https://togithub.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://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/803](https://togithub.com/actions/setup-node/pull/803) - Resolve SymbolicLink by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/809](https://togithub.com/actions/setup-node/pull/809) - Change passing logic for cache input by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/816](https://togithub.com/actions/setup-node/pull/816) - Fix armv7 cache issue by [@louislam](https://togithub.com/louislam) in [https://github.com/actions/setup-node/pull/794](https://togithub.com/actions/setup-node/pull/794) - Update check-dist workflow name by [@sinchang](https://togithub.com/sinchang) in [https://github.com/actions/setup-node/pull/710](https://togithub.com/actions/setup-node/pull/710) ##### Feature implementations: - feat: handling the case where "node" is used for tool-versions file. by [@xytis](https://togithub.com/xytis) in [https://github.com/actions/setup-node/pull/812](https://togithub.com/actions/setup-node/pull/812) ##### Documentation changes: - Refer to semver package name in README.md by [@olleolleolle](https://togithub.com/olleolleolle) in [https://github.com/actions/setup-node/pull/808](https://togithub.com/actions/setup-node/pull/808) ##### Update dependencies: - Update toolkit cache to fix zstd by [@dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-node/pull/804](https://togithub.com/actions/setup-node/pull/804) - Bump tough-cookie and [@azure/ms-rest-js](https://togithub.com/azure/ms-rest-js) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/802](https://togithub.com/actions/setup-node/pull/802) - Bump semver from 6.1.2 to 6.3.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/807](https://togithub.com/actions/setup-node/pull/807) - Bump word-wrap from 1.2.3 to 1.2.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-node/pull/815](https://togithub.com/actions/setup-node/pull/815) ##### New Contributors - [@olleolleolle](https://togithub.com/olleolleolle) made their first contribution in [https://github.com/actions/setup-node/pull/808](https://togithub.com/actions/setup-node/pull/808) - [@louislam](https://togithub.com/louislam) made their first contribution in [https://github.com/actions/setup-node/pull/794](https://togithub.com/actions/setup-node/pull/794) - [@sinchang](https://togithub.com/sinchang) made their first contribution in [https://github.com/actions/setup-node/pull/710](https://togithub.com/actions/setup-node/pull/710) - [@xytis](https://togithub.com/xytis) made their first contribution in [https://github.com/actions/setup-node/pull/812](https://togithub.com/actions/setup-node/pull/812) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.8.0 ### [`v3.7.0`](https://togithub.com/actions/setup-node/releases/tag/v3.7.0) [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/744) and [feature request](https://togithub.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://togithub.com/actions/setup-node/pull/735) and [feature request](https://togithub.com/actions/setup-node/issues/488)). ##### Besides, we made such changes as: - Replace workflow badge with new badge by [@jongwooo](https://togithub.com/jongwooo) in [https://github.com/actions/setup-node/pull/653](https://togithub.com/actions/setup-node/pull/653) - Fix a minor typo by [@phanan](https://togithub.com/phanan) in [https://github.com/actions/setup-node/pull/662](https://togithub.com/actions/setup-node/pull/662) - docs: fix typo in advanced-usage.md by [@remarkablemark](https://togithub.com/remarkablemark) in [https://github.com/actions/setup-node/pull/697](https://togithub.com/actions/setup-node/pull/697) - bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes by [@domdomegg](https://togithub.com/domdomegg) in [https://github.com/actions/setup-node/pull/718](https://togithub.com/actions/setup-node/pull/718) - Update to node 18.x by [@feelepxyz](https://togithub.com/feelepxyz) in [https://github.com/actions/setup-node/pull/751](https://togithub.com/actions/setup-node/pull/751) - Remove implicit dependencies by [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) in [https://github.com/actions/setup-node/pull/758](https://togithub.com/actions/setup-node/pull/758) - Fix description about ensuring workflow access to private package by [@x86chi](https://togithub.com/x86chi) in [https://github.com/actions/setup-node/pull/704](https://togithub.com/actions/setup-node/pull/704) #### New Contributors - [@jongwooo](https://togithub.com/jongwooo) made their first contribution in [https://github.com/actions/setup-node/pull/653](https://togithub.com/actions/setup-node/pull/653) - [@phanan](https://togithub.com/phanan) made their first contribution in [https://github.com/actions/setup-node/pull/662](https://togithub.com/actions/setup-node/pull/662) - [@remarkablemark](https://togithub.com/remarkablemark) made their first contribution in [https://github.com/actions/setup-node/pull/697](https://togithub.com/actions/setup-node/pull/697) - [@domdomegg](https://togithub.com/domdomegg) made their first contribution in [https://github.com/actions/setup-node/pull/718](https://togithub.com/actions/setup-node/pull/718) - [@feelepxyz](https://togithub.com/feelepxyz) made their first contribution in [https://github.com/actions/setup-node/pull/751](https://togithub.com/actions/setup-node/pull/751) - [@nikolai-laevskii](https://togithub.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-node/pull/758](https://togithub.com/actions/setup-node/pull/758) - [@x86chi](https://togithub.com/x86chi) made their first contribution in [https://github.com/actions/setup-node/pull/704](https://togithub.com/actions/setup-node/pull/704) **Full Changelog**: https://github.com/actions/setup-node/compare/v3...v3.7.0 ### [`v3.6.0`](https://togithub.com/actions/setup-node/releases/tag/v3.6.0): Add Support for Nightly, Canary and RC builds for Node.js [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/611)) and canary ([https://github.com/actions/setup-node/pull/619](https://togithub.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://togithub.com/actions/setup-node#advanced-usage). Besides, we added the following changes as: - Updated minimatch: [https://github.com/actions/setup-node/pull/608](https://togithub.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://togithub.com/actions/setup-node/pull/625) - Passed the token input through on GHES: [https://github.com/actions/setup-node/pull/595](https://togithub.com/actions/setup-node/pull/595) - Fixed issue with scoped registries are duplicated in npmrc: [https://github.com/actions/setup-node/pull/637](https://togithub.com/actions/setup-node/pull/637) ### [`v3.5.1`](https://togithub.com/actions/setup-node/releases/tag/v3.5.1): Update @actions/core and Print Node, Npm, Yarn versions [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/587). Moreover, we added logic [to print Nodejs, Npm, Yarn versions](https://togithub.com/actions/setup-node/pull/368) after installation. ### [`v3.5.0`](https://togithub.com/actions/setup-node/releases/tag/v3.5.0): Add support for engines.node and Volta [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/485). Moreover, we [added support for Volta](https://togithub.com/actions/setup-node/pull/532) Besides, we updated [@actions/core to 1.9.1](https://togithub.com/actions/setup-node/pull/574) and [@actions/cache to 3.0.4](https://togithub.com/actions/setup-node/pull/573) ### [`v3.4.1`](https://togithub.com/actions/setup-node/releases/tag/v3.4.1): Fix pnpm output and node-version output issues [Compare Source](https://togithub.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://togithub.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://togithub.com/actions/setup-node/pull/540). ### [`v3.4.0`](https://togithub.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://togithub.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://togithub.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://togithub.com/actions/setup-node/pull/373). Besides, we introduced new output [node-version](https://togithub.com/actions/setup-node/pull/534) and added `npm-shrinkwrap.json` to dependency file patterns: [https://github.com/actions/setup-node/pull/439](https://togithub.com/actions/setup-node/pull/439) ### [`v3.3.0`](https://togithub.com/actions/setup-node/releases/tag/v3.3.0): Add support for lts/-n aliases [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/481) - Related issue: [https://github.com/actions/setup-node/issues/26](https://togithub.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://togithub.com/actions/setup-node/pull/476) - Get latest version from cache if exists: [https://github.com/actions/setup-node/pull/496](https://togithub.com/actions/setup-node/pull/496) ### [`v3.2.0`](https://togithub.com/actions/setup-node/releases/tag/v3.2.0): Add current, node, latest aliases [Compare Source](https://togithub.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://togithub.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://togithub.com/actions/setup-node/releases/tag/v3.1.1): Update actions/cache version to 2.0.2 [Compare Source](https://togithub.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://togithub.com/actions/setup-node/pull/460)) ### [`v3.1.0`](https://togithub.com/actions/setup-node/releases/tag/v3.1.0): Add caching support on GHES 3.5 [Compare Source](https://togithub.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://togithub.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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.