diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01894f7e253..e25b6706b21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1081,6 +1081,7 @@ jobs: key: rea-windows-build-v1-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.nvmrc', '.npmrc', 'package-lock.json') }}-${{ github.sha }} restore-keys: rea-windows-build-v1-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.nvmrc', '.npmrc', 'package-lock.json') }}- - name: Typecheck with the official Windows compiler + if: matrix.suite == 'capabilities' env: GOMAXPROCS: "2" GOMEMLIMIT: "3GiB" diff --git a/tests/process-global/curatedWindowsLane.test.ts b/tests/process-global/curatedWindowsLane.test.ts index 091f3f9928e..03ec4316f14 100644 --- a/tests/process-global/curatedWindowsLane.test.ts +++ b/tests/process-global/curatedWindowsLane.test.ts @@ -217,6 +217,7 @@ it("checks the complete source with the fallback compiler before Windows build r const built = steps.findIndex((step) => step.run === "npm run build:cached"); expect(restored).toBeGreaterThan(-1); expect(checked).toBeGreaterThan(restored); + expect(steps[checked]?.if).toBe("matrix.suite == 'capabilities'"); expect(built).toBeGreaterThan(checked); const vitestRuns = steps .map((step) => step.run)