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