chore(deps): bump next from 16.0.6 to 16.0.7 in the npm-security group across 1 directory #6
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Tests (playwright) | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| # Triggers: PR opened, updated (new commits), or reopened | |
| # 1. Runs on remote GitHub Actions server (fresh environment, not local cache) | |
| # 2. Required to pass before PR can be merged to main (enforced by branch protection) | |
| # | |
| # Note: This workflow tests against localhost (built from source). | |
| # For E2E tests against Vercel preview deployments, see: test-e2e-vercel.yml | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| e2e: | |
| name: Run E2E Tests | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Step: Checkout code | |
| - uses: actions/checkout@v6 | |
| # Step: Setup Node.js | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'npm' | |
| # Step: Install dependencies | |
| - name: Install dependencies | |
| run: npm ci | |
| # Step: Install Playwright Browsers | |
| - name: Install Playwright Browsers | |
| run: npx playwright install chromium webkit --with-deps | |
| # Step: Build production | |
| - name: Build Next.js production | |
| run: npx next build | |
| # Step: Run E2E tests | |
| - name: Run Playwright tests | |
| run: npx playwright test | |
| # Step: Upload test report | |
| - uses: actions/upload-artifact@v5 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: playwright-report | |
| path: .playwright/playwright-report/ | |
| retention-days: 30 | |