mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 03:25:20 +00:00
perf(ci): run the Windows typecheck once per matrix (#14875)
This commit is contained in:
1 parent
1aa301e149
commit
f89480536d
2 files changed
+2
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user