fix(deploy): sync rooms Prisma types and harden checkout against stale host files
Local Build and Deploy / deploy (push) Failing after 1m19s
Local Build and Deploy / deploy (push) Failing after 1m19s
next build failed on host-local rooms.ts using Prisma without import while tsc incremental passed; force non-incremental typecheck and verify src matches HEAD. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
c053b8de87
commit
1abbf3fde7
4 files changed
+31
-14
No files matched your search
@@ -25,6 +25,12 @@ describe("production deploy workflow", () => {
|
||||
expect(resetAt).toBeGreaterThan(reclaimAt);
|
||||
});
|
||||
|
||||
it("verifies src/ matches HEAD and clears tsbuildinfo before typecheck", () => {
|
||||
expect(workflow).toContain("git diff --exit-code -- src");
|
||||
expect(workflow).toContain("*.tsbuildinfo");
|
||||
expect(workflow).toContain("pnpm typecheck");
|
||||
});
|
||||
|
||||
it("does not override onlyBuiltDependencies (uses pnpm-workspace.yaml)", () => {
|
||||
expect(workflow).not.toContain("PNPM_CONFIG_ONLY_BUILT_DEPENDENCIES");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user