diff options
Diffstat (limited to 'scripts/release-workflows.test.ts')
| -rw-r--r-- | scripts/release-workflows.test.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/release-workflows.test.ts b/scripts/release-workflows.test.ts index 75097710..edeff232 100644 --- a/scripts/release-workflows.test.ts +++ b/scripts/release-workflows.test.ts @@ -16,6 +16,17 @@ describe("official publishing workflow boundaries", () => { expect(load("ci").on.pull_request).toBeDefined(); }); + test("preview checks do not require a workstation Windows SDK", () => { + const checks = preview.jobs.preflight.steps.find((step: any) => step.name === "Run checks"); + expect(checks.run.trim().split("\n")).toEqual(["just ci", "just docs-contract-test"]); + expect(preview.jobs.build.strategy.matrix.include).toContainEqual({ + target: "x86_64-pc-windows-msvc", + os: "windows-latest", + name: "herdr-windows-x86_64.zip", + }); + expect(preview.jobs.publish.needs).toContain("build"); + }); + test("each publishing job rechecks both actors before using credentials", () => { for (const [workflow, names] of [ [preview, ["preflight", "publish"]], |
