Releases: actions/setup-node
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 #866
Besides, release contains such changes as:
- Upgrade actions/checkout to v4 by @gmembre-zenika in #868
- Update actions/checkout for documentation and yaml by @dmitry-shibanov in #876
New Contributors
- @gmembre-zenika made their first contribution in #868
Full Changelog: v3...v4.0.0
v3.8.2
What's Changed
- Update semver by @dmitry-shibanov in #861
- Update temp directory creation by @nikolai-laevskii in #859
- Bump @babel/traverse from 7.15.4 to 7.23.2 by @dependabot in #870
- Add notice about binaries not being updated yet by @nikolai-laevskii in #872
- Update toolkit cache and core by @dmitry-shibanov and @seongwon-privatenote in #875
Full Changelog: v3...v3.8.2
v3.8.1
What's Changed
In scope of this release, the filter was removed within the cache-save step by @dmitry-shibanov in #831. It is filtered and checked in the toolkit/cache library.
Full Changelog: v3...v3.8.1
v3.8.0
What's Changed
Bug fixes:
- Add check for existing paths by @dmitry-shibanov in #803
- Resolve SymbolicLink by @dmitry-shibanov in #809
- Change passing logic for cache input by @dmitry-shibanov in #816
- Fix armv7 cache issue by @louislam in #794
- Update check-dist workflow name by @sinchang in #710
Feature implementations:
Documentation changes:
- Refer to semver package name in README.md by @olleolleolle in #808
Update dependencies:
- Update toolkit cache to fix zstd by @dmitry-shibanov in #804
- Bump tough-cookie and @azure/ms-rest-js by @dependabot in #802
- Bump semver from 6.1.2 to 6.3.1 by @dependabot in #807
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #815
New Contributors
- @olleolleolle made their first contribution in #808
- @louislam made their first contribution in #794
- @sinchang made their first contribution in #710
- @xytis made their first contribution in #812
Full Changelog: v3...v3.8.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 and feature request). 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 and feature request).
Besides, we made such changes as:
- Replace workflow badge with new badge by @jongwooo in #653
- Fix a minor typo by @phanan in #662
- docs: fix typo in advanced-usage.md by @remarkablemark in #697
- bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes by @domdomegg in #718
- Update to node 18.x by @feelepxyz in #751
- Remove implicit dependencies by @nikolai-laevskii in #758
- Fix description about ensuring workflow access to private package by @x86chi in #704
New Contributors
- @jongwooo made their first contribution in #653
- @phanan made their first contribution in #662
- @remarkablemark made their first contribution in #697
- @domdomegg made their first contribution in #718
- @feelepxyz made their first contribution in #751
- @nikolai-laevskii made their first contribution in #758
- @x86chi made their first contribution in #704
Full Changelog: v3...v3.7.0
Update @actions/core for v2
In scope of this release we updated actions/core to 1.10.0 and actions/tool-cache to 1.7.2 for v2: #713
Add Support for Nightly, Canary and RC builds for Node.js
In scope of this release we added support to download nightly, rc (#611) and canary (#619) Node.js distributions.
For nightly versions:
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:
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:
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.
Besides, we added the following changes as:
Update @actions/core and Print Node, Npm, Yarn versions
In scope of this release we updated actions/core to 1.10.0. Moreover, we added logic to print Nodejs, Npm, Yarn versions after installation.
Add support for engines.node and Volta
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. #485. Moreover, we added support for Volta
Besides, we updated @actions/core to 1.9.1 and @actions/cache to 3.0.4