From ec5106f9e5684bd0ac03d9fed11121db6f484e40 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 15 Aug 2026 16:16:14 +0000 Subject: [PATCH] ci: drop lockfile-agnostic Next.js cache restore-key The broad nextjs-${{ runner.os }}- fallback let a lockfile change restore a .next/cache built against a different dependency graph. After #699 bumped @types/node, the mismatched cache broke Turbopack's internal font module resolution and reddened main. --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e0fc746..c7f73e13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,6 @@ jobs: key: nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ hashFiles('apps/web/**/*.[jt]s', 'apps/web/**/*.[jt]sx', 'packages/**/*.[jt]s', 'packages/**/*.[jt]sx') }} restore-keys: | nextjs-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}- - nextjs-${{ runner.os }}- - name: Restore Nx cache uses: actions/cache@v6