diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9f263bd..7f04e9e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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