diff --git a/script/publish-workflow.test.ts b/script/publish-workflow.test.ts index 9604fc217..f1f45eb5b 100644 --- a/script/publish-workflow.test.ts +++ b/script/publish-workflow.test.ts @@ -15,7 +15,7 @@ describe("test workflows", () => { const workflow = readFileSync(workflowPath, "utf8") expect(workflow).toContain("- name: Run tests") - expect(workflow).toContain("run: bun test") + expect(workflow).toMatch(/run: bun (test|run script\/run-ci-tests\.ts)/) } }) })