Update publish-workflow test for bun test command

- Change test expectation from "bun run test:ci" to "bun test"

🤖 GENERATED WITH ASSISTANCE OF OhMyOpenCode
This commit is contained in:
YeonGyu-Kim
2026-04-04 18:56:26 +09:00
parent 1071d4defb
commit 89fd302db4
+4 -4
View File
@@ -9,14 +9,14 @@ const workflowPaths = [
] ]
describe("test workflows", () => { describe("test workflows", () => {
test("use the CI-safe test runner for workflows", () => { test("use bun test for workflows", () => {
for (const workflowPath of workflowPaths) { for (const workflowPath of workflowPaths) {
// given // #given
const workflow = readFileSync(workflowPath, "utf8") const workflow = readFileSync(workflowPath, "utf8")
// then // #then
expect(workflow).toContain("- name: Run tests") expect(workflow).toContain("- name: Run tests")
expect(workflow).toContain("run: bun run test:ci") expect(workflow).toContain("run: bun test")
} }
}) })
}) })