ci: harden cross-os release harness on Windows

This commit is contained in:
Peter Steinberger
2026-04-27 10:03:32 +01:00
parent 3f895e5b49
commit 57092a1794
3 changed files with 45 additions and 3 deletions

View 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}"');
});
});