Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Remove duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 22, 2023
1 parent 865ff35 commit e4ef1b2
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions ecosystem-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,6 @@ import { getSuitesToRun, installSwc, setupEnvironment } from "./utils";
import { CommandOptions, RunOptions } from "./types";

const cli = cac();
cli
.command(
"[...suites]",
"run selected suites using specified version of @swc/core",
)
.option("--verify", "verify checkouts by running tests", { default: false })
.option("--release <version>", "@swc/core release to use from npm registry", {
default: "nightly",
})
.action(async (suites, options: CommandOptions) => {
const { root, swcPath, workspace } = await setupEnvironment();
await installSwc({ version: options.release });
const suitesToRun = getSuitesToRun(suites, root);

const runOptions: RunOptions = {
root,
swcPath,
workspace,
release: options.release,
verify: options.verify,
skipGit: false,
};
for (const suite of suitesToRun) {
await run(suite, runOptions);
}
});

cli
.command(
Expand Down

0 comments on commit e4ef1b2

Please sign in to comment.