docs: update pnpm example with caching

pull/1175/head
Ethan Neff 2024-12-18 17:55:40 +08:00 committed by GitHub
parent 39370e3970
commit 0518f21221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -256,9 +256,11 @@ steps:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: pnpm/action-setup@v2 - uses: pnpm/action-setup@v4
name: Install pnpm
with: with:
version: 6.32.9 version: 9
run_install: false
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '14' node-version: '14'