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

Commit

Permalink
Default to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 12, 2023
1 parent d296625 commit 6dbcdda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ecosystem-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ cli
"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")
.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 });
Expand Down Expand Up @@ -42,7 +44,9 @@ cli
"verify checkout by running tests before using local swc",
{ default: false },
)
.option("--release <version>", "@swc/core release to use from npm registry")
.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 });
Expand Down

0 comments on commit 6dbcdda

Please sign in to comment.