MyGit

v2.5.0

actions/setup-node

版本发布时间: 2021-11-29 19:04:48

actions/setup-node最新发布版本:v4.0.4(2024-09-19 22:07:35)

In scope of this release we add the node-version-file input and update actions/cache dependency to the latest version.

Adding Node.js version file support

The new input (node-version-file) provides functionality to specify the path to the file containing Node.js's version with such behaviour:

steps:
  - uses: actions/checkout@v2
  - name: Setup node from node version file
    uses: actions/setup-node@v2
    with:
      node-version-file: '.nvmrc'
  - run: npm install
  - run: npm test

Update actions/cache dependency to 1.0.8 version.

We updated actions/cache dependency to the latest version (1.0.8). For more information please refer to the toolkit/cache.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-11-29发行的版本