Commit 5f6b37c
committed
fix(e2e/varlet): replace bootstrap.mjs with vp run commands
The varlet ecosystem-ci job failed on CI because
`node scripts/bootstrap.mjs` spawns `pnpm build` via tinyexec, and
`pnpm` is not discoverable by Node's spawn on the runner. Bootstrap
silently swallows errors, so internal packages (notably varlet-cli)
were never compiled, leading to ERR_MODULE_NOT_FOUND when the
test:coverage step later invoked varlet-cli.
Replace the bootstrap call with explicit vp run commands that use
vp's bundled runtime. Build phase 1/2 packages via -F filters (-r
would hit the @varlet/cli <-> @varlet/ui devDependency cycle), then
cli/icons/ui-compile sequentially. The cli tsc step reports type
errors against @varlet/ui (still unbuilt) but emits JS output, which
matches upstream bootstrap behavior.1 parent e7b8b25 commit 5f6b37c
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
321 | 330 | | |
322 | 331 | | |
323 | 332 | | |
| |||
0 commit comments