From c20b224f3010989b3d92271ae443f94df93efaae Mon Sep 17 00:00:00 2001 From: Kacper Date: Wed, 17 Dec 2025 20:46:55 +0100 Subject: [PATCH] ci: update e2e workflow for Vite migration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change workspace from apps/app to apps/ui - Update env vars from NEXT_PUBLIC_* to VITE_* - Update artifact paths for playwright reports 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/e2e-tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 24065347..922ebdf7 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -45,7 +45,7 @@ jobs: - name: Install Playwright browsers run: npx playwright install --with-deps chromium - working-directory: apps/app + working-directory: apps/ui - name: Build server run: npm run build --workspace=apps/server @@ -71,20 +71,20 @@ jobs: exit 1 - name: Run E2E tests - # Playwright automatically starts the Next.js frontend via webServer config - # (see apps/app/playwright.config.ts) - no need to start it manually - run: npm run test --workspace=apps/app + # Playwright automatically starts the Vite frontend via webServer config + # (see apps/ui/playwright.config.ts) - no need to start it manually + run: npm run test --workspace=apps/ui env: CI: true - NEXT_PUBLIC_SERVER_URL: http://localhost:3008 - NEXT_PUBLIC_SKIP_SETUP: "true" + VITE_SERVER_URL: http://localhost:3008 + VITE_SKIP_SETUP: "true" - name: Upload Playwright report uses: actions/upload-artifact@v4 if: always() with: name: playwright-report - path: apps/app/playwright-report/ + path: apps/ui/playwright-report/ retention-days: 7 - name: Upload test results @@ -92,5 +92,5 @@ jobs: if: failure() with: name: test-results - path: apps/app/test-results/ + path: apps/ui/test-results/ retention-days: 7