ci: use pnpm/action-setup
action
This commit is contained in:
parent
10f8db996b
commit
0d5086a8a7
1 changed files with 7 additions and 3 deletions
|
@ -5,11 +5,15 @@ description: 'setup node'
|
|||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
|
||||
with:
|
||||
standalone: true
|
||||
|
||||
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||
with:
|
||||
node-version-file: .node-version
|
||||
# cache: 'npm'
|
||||
- shell: bash
|
||||
run: corepack enable
|
||||
cache: 'pnpm'
|
||||
|
||||
- shell: bash
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
Loading…
Reference in a new issue