ci: enable caching
This commit is contained in:
parent
23b38ecb27
commit
da409999c1
2 changed files with 8 additions and 4 deletions
|
@ -5,11 +5,15 @@ description: 'setup node'
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
|
||||||
|
with:
|
||||||
|
standalone: true
|
||||||
|
|
||||||
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
||||||
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
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@9.10.0",
|
"packageManager": "pnpm@9.10.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.12.0 || >=20.9.0",
|
"node": "^20.9.0",
|
||||||
"pnpm": "^9.0.0"
|
"pnpm": "^9.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue