mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +03:00
e755bce438
**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.
15 lines
448 B
TypeScript
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"],
|
|
});
|
|
}
|