pnpm fix
This commit is contained in:
parent
7456147e38
commit
9f24365a5c
1 changed files with 2 additions and 6 deletions
|
@ -14,15 +14,11 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: install pnpm
|
- name: install pnpm
|
||||||
run: npm install -g pnpm
|
run: npm install -g pnpm
|
||||||
- name: get npm cache directory
|
|
||||||
id: pnpm-cache-dir
|
|
||||||
shell: bash
|
|
||||||
run: pnpm config set store-dir .pnpm-store
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: pnpm-cache
|
id: pnpm-cache
|
||||||
name: restore pnpm cache
|
name: restore pnpm cache
|
||||||
with:
|
with:
|
||||||
path: .pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pnpm-
|
${{ runner.os }}-pnpm-
|
||||||
|
@ -32,7 +28,7 @@ jobs:
|
||||||
name: save pnpm cache
|
name: save pnpm cache
|
||||||
if: steps.pnpm-cache.outputs.cache-hit != 'true'
|
if: steps.pnpm-cache.outputs.cache-hit != 'true'
|
||||||
with:
|
with:
|
||||||
path: .pnpm-store
|
path: ~/.pnpm-store
|
||||||
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml) }}
|
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml) }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
id: nuget-cache
|
id: nuget-cache
|
||||||
|
|
Loading…
Reference in a new issue