swc/.github/swc-ecosystem-ci/todos/msw.ts
Donny/강동윤 e755bce438
chore: Implement Verify release with ecosystem (#9064)
**Description:**

This is a follow-up PR for https://github.com/swc-project/swc/pull/9062. This PR integrates swc-ecosystem-ci to publish pipeline. For faster debugging, I disabled the build process.
2024-06-17 08:58:52 +09:00

15 lines
448 B
TypeScript

import { runInRepo } from "../utils.js";
import { RunOptions } from "../types.js";
export async function test(options: RunOptions) {
// https://github.com/mswjs/msw/blob/2f7215294cac98149757f57118c7492d31a2a8e0/.github/workflows/ci.yml
await runInRepo({
...options,
repo: "mswjs/msw",
branch: "main",
build: "build",
beforeTest: "pnpm exec playwright install",
test: ["test:unit", "test:node", "test:browser"],
});
}