Skip to content

Commit 16e409b

Browse files
committed
chore: fix pnpm cache
1 parent ce9132c commit 16e409b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@ jobs:
6666
restore-keys: |
6767
${{ runner.os }}-tauri-cli-
6868
69-
- name: Cache node_modules
69+
- name: Cache pnpm store and modules
7070
uses: actions/cache@v4
7171
with:
72-
path: node_modules
73-
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
72+
path: |
73+
~/.pnpm-store
74+
node_modules
75+
key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
7476
restore-keys: |
75-
${{ runner.os }}-node-modules-
77+
${{ runner.os }}-pnpm-
7678
7779
- name: Install Node Module
7880
run: |

0 commit comments

Comments
 (0)