name: E2E Playwright Tests on: push: branches: - main - develop pull_request: branches: - main - develop jobs: test-e2e: name: Run Full E2E & Security Suites runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 cache: 'npm' - name: Install Monorepo Dependencies run: npm ci - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - name: Run E2E Test Suite run: npx playwright test --project=chromium-desktop --project=admin-chromium env: CI: true NODE_ENV: test - name: Upload Test Report if: always() uses: actions/upload-artifact@v4 with: name: playwright-report path: playwright-report/ retention-days: 14