diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9038bf7e6..a1b839b6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,6 +145,9 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Build packages and console + run: pnpm turbo run build --filter='./packages/*' --filter='./apps/console' + - name: Install Playwright browsers run: pnpm exec playwright install --with-deps chromium diff --git a/playwright.config.ts b/playwright.config.ts index ade500f6d..01eed88e2 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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', url: 'http://localhost:4173', reuseExistingServer: !process.env.CI, timeout: 180 * 1000,