v3.3.0
版本发布时间: 2022-06-06 20:52:11
actions/setup-node最新发布版本:v4.0.4(2024-09-19 22:07:35)
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
- 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 test
Minor 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