-
released this
2021-07-20 20:22:13 +08:00 | 301 commits to main since this releaseThis release introduces dependency caching support for the
pnpmpackage manager (#278).Caching pnpm dependencies:
# 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 testNOTE: pnpm caching support requires pnpm version >= 6.10.0
Downloads
-
released this
2021-06-30 20:20:50 +08:00 | 314 commits to main since this releaseThis release brings two major features:
Supported version syntax
The
node-versioninput 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. Thecacheinput is optional, and caching is turned off by default.Caching npm dependencies:
steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14' cache: 'npm' - run: npm install - run: npm testCaching yarn dependencies:
steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: node-version: '14' cache: 'yarn' - run: yarn install - run: yarn testYarn caching handles both yarn versions: 1 or 2.
At the moment, only
lockfiles in the project root are supported.Downloads
-
v2.1.5 Release Stable
released this
2021-02-17 23:52:41 +08:00 | 357 commits to main since this releaseImprove error and warning line number handling (problem matcher regex)
Downloads
-
v2.1.4 Stable
released this
2020-12-16 17:47:21 +08:00 | 363 commits to main since this releaseThe first stable release of actions/setup-node V2
Downloads
-
v2.1.3 (beta) Pre-Release
released this
2020-12-10 15:21:45 +08:00 | 378 commits to main since this release- Add support for specifying architecture of Node.JS
Downloads
-
v2.1.2 (beta) Pre-Release
released this
2020-10-02 00:03:22 +08:00 | 409 commits to main since this release- Updated communication with runner to use environment files rather then workflow commands
Downloads
-
v2.1.1 (beta) Pre-Release
released this
2020-07-21 00:50:59 +08:00 | 1 commits to master since this releaseSwitch to
mainbranch of node-versions repository to consume latest added versions.Downloads
-
v2.1.0 (beta) Pre-Release
released this
2020-06-30 02:56:37 +08:00 | 2 commits to master since this releaseAdded check-latest input option to query the versions manifest for latest version before checking for semver match in local VM cache first (the default). That's useful for ensuring you get latest as soon as it's released to the cache but at the cost of perf / reliability (much more likely to incur and download and extract).
Downloads