chore(deps-dev): bump @testing-library/react from 14.3.1 to 16.3.2 #68
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: Visual regression | |
| # Run Playwright on every PR to catch pixel drift in the Vue v2.3.4 | |
| # demo. Single-OS (Linux), single Node version, single browser | |
| # (Chromium) — the baselines are platform-specific (committed at | |
| # `tests/visual/vue-demo.spec.ts-snapshots/*-chromium-win32.png`) so | |
| # CI captures only act as a smoke test for now. When the alpha.10+ | |
| # migration enforces strict parity, we'll extend the matrix to | |
| # include the chromium-linux baselines. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: visual-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| visual: | |
| name: Playwright visual regression (Vue v2.3.4 demo) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node 20 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --no-audit --prefer-offline | |
| - name: Install Playwright browsers | |
| run: npx playwright install chromium --with-deps | |
| - name: Run visual regression | |
| run: npm run test:visual | |
| # The committed baselines are Windows-flavoured. On Linux, | |
| # this job currently runs in informational mode — it captures | |
| # the actual output for inspection but doesn't fail the build | |
| # on diff. When we switch to platform-matched baselines, | |
| # drop `continue-on-error`. | |
| continue-on-error: true | |
| - name: Upload Playwright report on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 7 |