name: Playwright Tests on: push: pull_request: permissions: contents: read jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v6 with: node-version: lts/* cache: npm - name: Install dependencies run: npm ci - name: Install Playwright browsers run: npx playwright install --with-deps - name: Run Playwright tests run: npx playwright test - name: Upload Playwright report uses: actions/upload-artifact@v7 if: always() with: name: playwright-report path: playwright-report/ retention-days: 30