Skip to content

Commit 5de6708

Browse files
committed
Fix failing CI
1 parent deff56e commit 5de6708

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

.github/workflows/visual-regression-init.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,10 @@ jobs:
2727
with:
2828
version: 9
2929

30-
- name: Get pnpm store directory
31-
shell: bash
32-
run: |
33-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
34-
3530
- name: Setup pnpm cache
3631
uses: actions/cache@v4
3732
with:
38-
path: ${{ env.STORE_PATH }}
33+
path: ~/.local/share/pnpm/store
3934
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4035
restore-keys: |
4136
${{ runner.os }}-pnpm-store-

.github/workflows/visual-regression.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@ jobs:
2929
with:
3030
version: 9
3131

32-
- name: Get pnpm store directory
33-
shell: bash
34-
run: |
35-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
36-
3732
- name: Setup pnpm cache
3833
uses: actions/cache@v4
3934
with:
40-
path: ${{ env.STORE_PATH }}
35+
path: ~/.local/share/pnpm/store
4136
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
4237
restore-keys: |
4338
${{ runner.os }}-pnpm-store-
@@ -104,15 +99,10 @@ jobs:
10499
with:
105100
version: 9
106101

107-
- name: Get pnpm store directory
108-
shell: bash
109-
run: |
110-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
111-
112102
- name: Setup pnpm cache
113103
uses: actions/cache@v4
114104
with:
115-
path: ${{ env.STORE_PATH }}
105+
path: ~/.local/share/pnpm/store
116106
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
117107
restore-keys: |
118108
${{ runner.os }}-pnpm-store-

0 commit comments

Comments
 (0)