Skip to content

Commit d4ff492

Browse files
committed
fixup! chore: update github CI/CD
1 parent b584c21 commit d4ff492

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,16 @@ jobs:
2222
scope: "@frameless"
2323
- name: Install pnpm
2424
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 #v4.2.0
25-
- name: Get pnpm store directory
26-
id: pnpm-cache
27-
shell: bash
28-
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
2925
- name: Set pnpm store path
30-
run: pnpm config set store-dir ~/.pnpm-store
26+
run: pnpm config set store-dir ~/.pnpm-store/v10
3127
- name: Setup pnpm cache
3228
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 #v5.0.3
29+
id: pnpm-store-cache
3330
with:
34-
path: ~/.pnpm-store
31+
path: ~/.pnpm-store/v10
3532
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
33+
restore-keys: |
34+
${{ runner.os }}-pnpm-store-
3635
- name: Cache Puppeteer browsers
3736
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 #v5.0.3
3837
with:
@@ -43,6 +42,8 @@ jobs:
4342
- run: pnpm install --frozen-lockfile
4443
env:
4544
SCARF_ANALYTICS: false
45+
PUPPETEER_SKIP_DOWNLOAD: "true"
46+
PUPPETEER_CACHE_DIR: ~/.cache/puppeteer
4647
- name: Make the root envfile
4748
uses: SpicyPizza/create-envfile@ace6d4f5d7802b600276c23ca417e669f1a06f6f #v2.0.3
4849
with:

0 commit comments

Comments
 (0)