Skip to content

Commit cafc651

Browse files
authored
Merge pull request #438 from objectstack-ai/copilot/fix-ci-e2e-test
2 parents 1e80ef6 + 5b44548 commit cafc651

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ jobs:
145145
- name: Install dependencies
146146
run: pnpm install --frozen-lockfile
147147

148+
- name: Build packages and console
149+
run: pnpm turbo run build --filter='./packages/*' --filter='./apps/console'
150+
148151
- name: Install Playwright browsers
149152
run: pnpm exec playwright install --with-deps chromium
150153

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default defineConfig({
6262
* caused by build-time errors (broken imports, missing polyfills, etc.).
6363
*/
6464
webServer: {
65-
command: 'pnpm --filter @object-ui/console build && pnpm --filter @object-ui/console preview --port 4173',
65+
command: 'pnpm turbo run build --filter=@object-ui/console && pnpm --filter @object-ui/console preview --port 4173',
6666
url: 'http://localhost:4173',
6767
reuseExistingServer: !process.env.CI,
6868
timeout: 180 * 1000,

0 commit comments

Comments
 (0)