Skip to content

Commit f9bbb7c

Browse files
committed
fix: cache for pnpm
1 parent 9be1198 commit f9bbb7c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,12 @@ jobs:
2626
uses: actions/setup-node@v4
2727
with:
2828
node-version: "22"
29-
cache: 'npm'
3029
- name: Install pnpm
3130
run: npm install -g pnpm@8
32-
- name: Get pnpm store directory
33-
shell: bash
34-
run: |
35-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
3631
- name: Setup pnpm cache
3732
uses: actions/cache@v3
3833
with:
39-
path: ${{ env.STORE_PATH }}
34+
path: ~/.pnpm-store
4035
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4136
restore-keys: |
4237
${{ runner.os }}-pnpm-store-

0 commit comments

Comments
 (0)