File tree Expand file tree Collapse file tree 2 files changed +3
-21
lines changed
Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 7979 vite-config-path : ./apps/nextjs/vitest.config.ts
8080
8181 build :
82- name : Build & E2E
82+ name : Build
8383 runs-on : ubuntu-latest
8484 needs : [quality, test]
8585 steps :
9898 run : pnpm install --frozen-lockfile
9999
100100 - name : Build
101- run : pnpm build
102-
103- - name : Install Playwright browsers
104- run : pnpm exec playwright install --with-deps chromium
105- working-directory : apps/nextjs
106-
107- - name : Run E2E tests
108- run : pnpm exec playwright test
109- working-directory : apps/nextjs
110- env :
111- CI : true
112-
113- - name : Upload Playwright Report
114- uses : actions/upload-artifact@v4
115- if : always()
116- with :
117- name : playwright-report
118- path : apps/nextjs/playwright-report/
119- retention-days : 30
101+ run : pnpm build
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default defineConfig({
1919 } ,
2020 ] ,
2121 webServer : {
22- command : process . env . CI ? "pnpm start " : "pnpm dev" ,
22+ command : process . env . CI ? "node .next/standalone/server.js " : "pnpm dev" ,
2323 url : "http://localhost:3000" ,
2424 reuseExistingServer : ! process . env . CI ,
2525 timeout : 120000 ,
You can’t perform that action at this time.
0 commit comments