Files
openclaw/test/scripts/openclaw-cross-os-release-workflow.test.ts
2026-04-27 10:03:38 +01:00

15 lines
583 B
TypeScript

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