This commit is contained in:
1 parent
8efd032cc6
commit
df38dccbf1
735 files changed
+128321
-120870
No files matched your search
@@ -3,10 +3,13 @@ import { resolve } from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
describe("production deploy workflow", () => {
|
||||
const workflow = readFileSync(resolve(process.cwd(), ".gitea/workflows/deploy.yaml"), "utf8");
|
||||
const workflow = readFileSync(
|
||||
resolve(process.cwd(), ".gitea/workflows/deploy.yaml"),
|
||||
"utf8",
|
||||
);
|
||||
|
||||
it("preserves the Next.js incremental build cache", () => {
|
||||
expect(workflow).not.toMatch(/rm\s+-rf[^\n]*\.next/);
|
||||
expect(workflow).toContain("pnpm install --frozen-lockfile");
|
||||
});
|
||||
it("preserves the Next.js incremental build cache", () => {
|
||||
expect(workflow).not.toMatch(/rm\s+-rf[^\n]*\.next/);
|
||||
expect(workflow).toContain("pnpm install --frozen-lockfile");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user