mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 10:42:53 +00:00
ci: split startup and shrinkwrap checks
This commit is contained in:
@@ -513,7 +513,10 @@ describe("scripts/lib/ci-node-test-plan.mjs", () => {
|
||||
"agentic-control-plane-runtime-shared-token",
|
||||
"agentic-control-plane-runtime-state",
|
||||
"agentic-control-plane-runtime-ui-tools",
|
||||
"agentic-control-plane-startup-runtime",
|
||||
"agentic-control-plane-startup-config",
|
||||
"agentic-control-plane-startup-core",
|
||||
"agentic-control-plane-startup-health-runtime",
|
||||
"agentic-control-plane-startup-restart-close",
|
||||
]);
|
||||
expect(controlPlaneShards).toEqual(
|
||||
controlPlaneShards.map((shard) => ({
|
||||
|
||||
@@ -123,11 +123,16 @@ describe("ci workflow guards", () => {
|
||||
const workflow = readFileSync(".github/workflows/ci.yml", "utf8");
|
||||
const preflightGuards = workflow.slice(
|
||||
workflow.indexOf("guards)"),
|
||||
workflow.indexOf("shrinkwrap)"),
|
||||
);
|
||||
const shrinkwrapGuards = workflow.slice(
|
||||
workflow.indexOf("shrinkwrap)"),
|
||||
workflow.indexOf("prod-types)"),
|
||||
);
|
||||
|
||||
expect(workflow).toContain("check-guards");
|
||||
expect(preflightGuards).toContain("pnpm deps:shrinkwrap:check");
|
||||
expect(workflow).toContain("check-shrinkwrap");
|
||||
expect(shrinkwrapGuards).toContain("pnpm deps:shrinkwrap:check");
|
||||
expect(preflightGuards).toContain("pnpm deps:patches:check");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user