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:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
|
||||||
|
with:
|
||||||
|
standalone: true
|
||||||
|
|
||||||
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
|
||||||
with:
|
with:
|
||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
# cache: 'npm'
|
cache: 'pnpm'
|
||||||
- shell: bash
|
|
||||||
run: corepack enable
|
|
||||||
- shell: bash
|
- shell: bash
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
Loading…
Reference in a new issue