build(ci): wire @vue-tui/cli test branch into the ci graph

Add a "test" script (vp test --passWithNoTests) to @vue-tui/cli and a
ci:test:cli branch (dependsOn ci:build) to the run.tasks graph. No CLI tests
exist yet, but wiring the branch now means future CLI tests are covered
automatically rather than silently skipped. #26 (item 3).
This commit is contained in:
Yunfei He
2026-05-29 17:26:19 +08:00
parent 051e9f128e
commit 6d856f8913
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -58,6 +58,13 @@ export default defineConfig({
command: "vp run @vue-tui/runtime-tests#test:pty",
dependsOn: ["ci:build"],
},
// cli has no tests yet (test passes with --passWithNoTests), but wiring
// the branch now means future CLI tests are covered automatically rather
// than silently skipped.
"ci:test:cli": {
command: "vp run @vue-tui/cli#test",
dependsOn: ["ci:build"],
},
ci: {
command: "echo ci ok",
dependsOn: [
@@ -68,6 +75,7 @@ export default defineConfig({
"ci:test:testing",
"ci:test:integration",
"ci:test:pty",
"ci:test:cli",
],
},
},