v2.3.0
版本发布时间: 2021-07-20 20:27:25
actions/setup-node最新发布版本:v4.0.4(2024-09-19 22:07:35)
This release introduces dependency caching support for the pnpm
package 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 test
NOTE: pnpm caching support requires pnpm version >= 6.10.0