-
Notifications
You must be signed in to change notification settings - Fork 2
fix: use turbo build in e2e CI job to resolve missing package artifacts #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -62,7 +62,7 @@ export default defineConfig({ | |||||||||
| * caused by build-time errors (broken imports, missing polyfills, etc.). | ||||||||||
| */ | ||||||||||
| webServer: { | ||||||||||
| command: 'pnpm --filter @object-ui/console build && pnpm --filter @object-ui/console preview --port 4173', | ||||||||||
| command: 'pnpm turbo run build --filter=@object-ui/console && pnpm --filter @object-ui/console preview --port 4173', | ||||||||||
|
||||||||||
| command: 'pnpm turbo run build --filter=@object-ui/console && pnpm --filter @object-ui/console preview --port 4173', | |
| command: process.env.CI | |
| ? 'pnpm --filter @object-ui/console preview --port 4173' | |
| : 'pnpm turbo run build --filter=@object-ui/console && pnpm --filter @object-ui/console preview --port 4173', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step runs a full Turbo build right before E2E, but Playwright's
webServer.commandalso triggers a Turbo build. Unless you make the Playwright command skip building on CI, this duplicates work and can significantly increase CI duration. Either drop this step and keep the webServer build, or keep this step and adjust the Playwright config to only runpreviewon CI.