Commit 5b44548
fix: use turbo build in playwright webServer and add build step to CI e2e job
The e2e CI job was failing because the webServer command ran
`pnpm --filter @object-ui/console build` which runs tsc directly.
tsc failed (exit code 2) because workspace packages' dist/ directories
didn't exist (the build job runs on a separate VM and artifacts aren't shared).
Changes:
- playwright.config.ts: Use `turbo run build` which properly builds
dependencies before the console (respects ^build dependency chain)
- ci.yml: Add explicit build step before Playwright tests, so the
webServer's turbo build is a cache hit (~320ms)
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent d756e97 commit 5b44548
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments