Release v1.8.1: report link layout fix on the beta layout, wxt 0.21 and CI updates #13
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 | |
| # No `paths:` filter on purpose. This is a required status check, and a | |
| # workflow that is skipped by a path filter never reports a status at all, so | |
| # the check sits on "Expected" and the PR can never merge. Running it on every | |
| # PR costs ~45s and keeps the gate honest. | |
| on: | |
| pull_request: | |
| branches: [main, dev] | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| jobs: | |
| e2e: | |
| if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| # Stop needrestart from prompting during `playwright install --with-deps` | |
| # on Ubuntu 24.04, which otherwise hangs the apt step indefinitely. | |
| env: | |
| NEEDRESTART_MODE: a | |
| NEEDRESTART_SUSPEND: 1 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| - name: Setup node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # The e2e fixture loads an unpacked extension, which needs a real | |
| # Chromium with the new headless shell (channel: "chromium"). | |
| - name: Install Playwright Browsers | |
| run: pnpm playwright install --with-deps chromium | |
| - name: Build extension (Chrome MV3) | |
| run: pnpm build | |
| - name: Run mocked-page E2E tests (Playwright) | |
| run: pnpm test |