Skip to content

Commit f98d5ac

Browse files
committed
ci: remove e2e tests from ci workflow
1 parent 18e3d46 commit f98d5ac

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
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:
@@ -98,22 +98,4 @@ jobs:
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

apps/nextjs/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)