fix: e2e/lighthouse CI jobs missing pnpm lockfile cache path
This commit is contained in:
@@ -30,7 +30,8 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with: { version: 9 }
|
with: { version: 9 }
|
||||||
- uses: actions/setup-node@v4
|
- 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 site install --frozen-lockfile
|
||||||
- run: pnpm -C tests install --frozen-lockfile
|
- run: pnpm -C tests install --frozen-lockfile
|
||||||
- run: pnpm -C tests exec playwright install --with-deps chromium
|
- run: pnpm -C tests exec playwright install --with-deps chromium
|
||||||
@@ -43,7 +44,7 @@ jobs:
|
|||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
with: { version: 9 }
|
with: { version: 9 }
|
||||||
- uses: actions/setup-node@v4
|
- 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 install --frozen-lockfile
|
||||||
- run: pnpm -C site build
|
- run: pnpm -C site build
|
||||||
- run: pnpm dlx @lhci/cli@0.14.x autorun --config=site/lighthouserc.json
|
- run: pnpm dlx @lhci/cli@0.14.x autorun --config=site/lighthouserc.json
|
||||||
|
|||||||
Reference in New Issue
Block a user