ci: enable caching

This commit is contained in:
Michael Kriese 2024-09-11 12:26:08 +02:00
parent 23b38ecb27
commit da409999c1
No known key found for this signature in database
GPG key ID: F8D7748549A5986A
2 changed files with 8 additions and 4 deletions

View file

@ -5,11 +5,15 @@ description: 'setup node'
runs:
using: 'composite'
steps:
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
standalone: true
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .node-version
# cache: 'npm'
- shell: bash
run: corepack enable
cache: 'pnpm'
- shell: bash
run: pnpm install --frozen-lockfile

View file

@ -25,7 +25,7 @@
},
"packageManager": "pnpm@9.10.0",
"engines": {
"node": "^18.12.0 || >=20.9.0",
"node": "^20.9.0",
"pnpm": "^9.0.0"
}
}