Skip to content

Commit

Permalink
add local flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 15, 2024
1 parent e7d5bab commit 90d45fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ecosystem-ci.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cli
.option('--tag <tag>', 'vue tag to use')
.option('--commit <commit>', 'vue commit sha to use')
.option('--release <version>', 'vue release to use from npm registry')
.option('--local', 'test locally')
.action(async (suites, options: CommandOptions) => {
const { root, vuePath, workspace } = await setupEnvironment()
const suitesToRun = getSuitesToRun(suites, root)
Expand All @@ -33,7 +34,9 @@ cli
if (options.release) {
vueVersion = options.release
} else {
await buildVue({ verify: options.verify, publish: true })
if (!options.local) {
await buildVue({ verify: options.verify, publish: true })
}
vueVersion = parseVueVersion(vuePath)
}

Expand Down
1 change: 1 addition & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface CommandOptions {
verify?: boolean
publish?: boolean
skipGit?: boolean
local?: boolean
}

export interface RepoOptions {
Expand Down

0 comments on commit 90d45fc

Please sign in to comment.