-
v3.7.0 Stable
released this
2023-06-27 19:07:43 +08:00 | 99 commits to main since this releaseWhat'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-pathinput 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 https://github.com/actions/setup-node/pull/653
- Fix a minor typo by @phanan in https://github.com/actions/setup-node/pull/662
- docs: fix typo in advanced-usage.md by @remarkablemark in https://github.com/actions/setup-node/pull/697
- bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes by @domdomegg in https://github.com/actions/setup-node/pull/718
- Update to node 18.x by @feelepxyz in https://github.com/actions/setup-node/pull/751
- Remove implicit dependencies by @nikolai-laevskii in https://github.com/actions/setup-node/pull/758
- Fix description about ensuring workflow access to private package by @x86chi in https://github.com/actions/setup-node/pull/704
New Contributors
- @jongwooo made their first contribution in https://github.com/actions/setup-node/pull/653
- @phanan made their first contribution in https://github.com/actions/setup-node/pull/662
- @remarkablemark made their first contribution in https://github.com/actions/setup-node/pull/697
- @domdomegg made their first contribution in https://github.com/actions/setup-node/pull/718
- @feelepxyz made their first contribution in https://github.com/actions/setup-node/pull/751
- @nikolai-laevskii made their first contribution in https://github.com/actions/setup-node/pull/758
- @x86chi made their first contribution in https://github.com/actions/setup-node/pull/704
Full Changelog: https://github.com/actions/setup-node/compare/v3...v3.7.0
Downloads
-
Update @actions/core for v2 Stable
released this
2023-03-27 19:36:04 +08:00 | 0 commits to releases/v2 since this releaseIn 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
Downloads
-
released this
2023-01-05 20:16:21 +08:00 | 123 commits to main since this releaseIn scope of this release we added support to download nightly, rc (https://github.com/actions/setup-node/pull/611) and canary (https://github.com/actions/setup-node/pull/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 testFor 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 testFor 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 testNote: For more examples please refer to documentation.
Besides, we added the following changes as:
- Updated minimatch: https://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
- Passed the token input through on GHES: https://github.com/actions/setup-node/pull/595
- Fixed issue with scoped registries are duplicated in npmrc: https://github.com/actions/setup-node/pull/637
Downloads
-
released this
2022-10-13 18:11:08 +08:00 | 154 commits to main since this releaseIn scope of this release we updated actions/core to 1.10.0. Moreover, we added logic to print Nodejs, Npm, Yarn versions after installation.
Downloads
-
released this
2022-09-26 19:58:23 +08:00 | 157 commits to main since this releaseIn 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. Moreover, we added support for Volta
Besides, we updated @actions/core to 1.9.1 and @actions/cache to 3.0.4
Downloads
-
released this
2022-07-13 22:20:39 +08:00 | 200 commits to main since this releaseIn scope of this release we fixed bugs related to the pnpm 7.5.1 output issue from
pnpm store pathhttps://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.Downloads
-
released this
2022-07-11 19:48:55 +08:00 | 207 commits to main since this releaseIn scope of this release we updated
actions/cachepackage as the new version contains fixes for caching error handling. Moreover, we added support for asdf format as Node.js version file https://github.com/actions/setup-node/pull/373. Besides, we introduced new output node-version and addednpm-shrinkwrap.jsonto dependency file patterns: https://github.com/actions/setup-node/pull/439Downloads
-
released this
2022-06-02 18:30:33 +08:00 | 231 commits to main since this releaseIn scope of this release we added support for
lts/-naliases, improve logic forcurrent,latestandnodealiases to handle them fromtoolcache, updatenccpackage.Support of lts/-n aliases
- Related pull request: https://github.com/actions/setup-node/pull/481
- Related issue: https://github.com/actions/setup-node/issues/26
steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: lts/-1 - run: npm ci - run: npm testMinor improvements
- Update zeit/ncc to vercel/ncc: https://github.com/actions/setup-node/pull/476
- Get latest version from cache if exists: https://github.com/actions/setup-node/pull/496
Downloads
-
released this
2022-05-12 23:26:02 +08:00 | 246 commits to main since this releaseIn scope of this release we added new aliases to install the latest Node.js version. https://github.com/actions/setup-node/pull/483
steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: current - run: npm ci - run: npm testDownloads
-
released this
2022-04-11 21:36:18 +08:00 | 253 commits to main since this releaseIn scope of this release we updated
actions/cachepackage as the new version contains fixes related to GHES 3.5 (https://github.com/actions/setup-node/pull/460)Downloads