perf(ci): snellere workflow + Epic runner naam
- Runner hernoemd naar 'Epic runner' - Env variabelen als global env (niet per step) - fetch-depth: 1 voor snellere checkout - Knip verwijderd (traag, niet kritiek) - Docker BuildKit caching - Health check opgeschoond
This commit is contained in:
1 parent
c949319332
commit
a52cbead8a
3 files changed
+28
-34
No files matched your search
@@ -20,14 +20,14 @@ describe("CI workflow", () => {
|
||||
});
|
||||
|
||||
it("uses Gitea SHA for check checkout", () => {
|
||||
expect(workflow).toContain("SKIP_ENV_VALIDATION=1");
|
||||
expect(workflow).toContain("SKIP_ENV_VALIDATION");
|
||||
});
|
||||
|
||||
it("includes tag triggers", () => {
|
||||
expect(workflow).toContain('tags:\n - "v*"');
|
||||
});
|
||||
|
||||
it("runs knip for unused code detection", () => {
|
||||
expect(workflow).toContain("pnpm knip");
|
||||
it("sets test environment variables as global env", () => {
|
||||
expect(workflow).toContain("SKIP_ENV_VALIDATION: 1");
|
||||
});
|
||||
});
|
||||
@@ -40,7 +40,6 @@ describe("production deploy workflow", () => {
|
||||
it("runs HTTP health check after deployment", () => {
|
||||
expect(deployJob).toContain("/api/health");
|
||||
expect(deployJob).toContain('"database":true');
|
||||
expect(deployJob).toContain("HEALTH_OK=0");
|
||||
});
|
||||
|
||||
it("cleans up old Docker images after deploy", () => {
|
||||
|
||||
Reference in new issue
Block a user