fix: e2e/lighthouse CI jobs missing pnpm lockfile cache path
CI / quality (push) Successful in 49s
CI / e2e (push) Successful in 1m45s
CI / lighthouse (push) Failing after 32s
CI / relay (push) Successful in 33s
Deploy / deploy (push) Failing after 6s
CI / images (push) Failing after 2m9s

This commit is contained in:
cesnimda
2026-07-12 15:08:19 +02:00
parent dabcc68b21
commit 4cd7b3d88a
+3 -2
View File
@@ -30,7 +30,8 @@ jobs:
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 22, cache: pnpm }
with:
{ node-version: 22, cache: pnpm, cache-dependency-path: '**/pnpm-lock.yaml' }
- run: pnpm -C site install --frozen-lockfile
- run: pnpm -C tests install --frozen-lockfile
- run: pnpm -C tests exec playwright install --with-deps chromium
@@ -43,7 +44,7 @@ jobs:
- uses: pnpm/action-setup@v4
with: { version: 9 }
- uses: actions/setup-node@v4
with: { node-version: 22, cache: pnpm }
with: { node-version: 22, cache: pnpm, cache-dependency-path: site/pnpm-lock.yaml }
- run: pnpm -C site install --frozen-lockfile
- run: pnpm -C site build
- run: pnpm dlx @lhci/cli@0.14.x autorun --config=site/lighthouserc.json