mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:10:58 +00:00
ci: harden cross-os release harness on Windows
This commit is contained in:
14
test/scripts/openclaw-cross-os-release-workflow.test.ts
Normal file
14
test/scripts/openclaw-cross-os-release-workflow.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
const WORKFLOW_PATH = ".github/workflows/openclaw-cross-os-release-checks-reusable.yml";
|
||||
const HARNESS = "bash workflow/scripts/github/run-openclaw-cross-os-release-checks.sh";
|
||||
|
||||
describe("cross-OS release checks workflow", () => {
|
||||
it("runs the TypeScript release harness through the Windows-safe wrapper", () => {
|
||||
const workflow = readFileSync(WORKFLOW_PATH, "utf8");
|
||||
|
||||
expect(workflow).toContain(HARNESS);
|
||||
expect(workflow).not.toContain('pnpm dlx "tsx@${TSX_VERSION}"');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user