Skip to content

Commit 90d45fc

Browse files
committed
add local flag
1 parent e7d5bab commit 90d45fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ecosystem-ci.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ cli
2222
.option('--tag <tag>', 'vue tag to use')
2323
.option('--commit <commit>', 'vue commit sha to use')
2424
.option('--release <version>', 'vue release to use from npm registry')
25+
.option('--local', 'test locally')
2526
.action(async (suites, options: CommandOptions) => {
2627
const { root, vuePath, workspace } = await setupEnvironment()
2728
const suitesToRun = getSuitesToRun(suites, root)
@@ -33,7 +34,9 @@ cli
3334
if (options.release) {
3435
vueVersion = options.release
3536
} else {
36-
await buildVue({ verify: options.verify, publish: true })
37+
if (!options.local) {
38+
await buildVue({ verify: options.verify, publish: true })
39+
}
3740
vueVersion = parseVueVersion(vuePath)
3841
}
3942

types.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export interface CommandOptions {
3737
verify?: boolean
3838
publish?: boolean
3939
skipGit?: boolean
40+
local?: boolean
4041
}
4142

4243
export interface RepoOptions {

0 commit comments

Comments
 (0)