Skip to content

⬆️ Bump the dependencies group with 4 updates #336

⬆️ Bump the dependencies group with 4 updates

⬆️ Bump the dependencies group with 4 updates #336

Workflow file for this run

name: Reporter Visual Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
visual:
name: Visual Tests
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Use Node.js 22
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
- name: Install pnpm
run: corepack enable && corepack prepare pnpm@11.3.0 --activate
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Get installed Playwright version
id: playwright-version
run: echo "version=$(pnpm exec playwright --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')" >> $GITHUB_OUTPUT
- name: Cache Playwright browsers
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
id: playwright-cache
with:
path: ~/.cache/ms-playwright
key: playwright-browsers-${{ steps.playwright-version.outputs.version }}-firefox
- name: Install Playwright browsers
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: pnpm exec playwright install firefox --with-deps
- name: Run reporter visual tests
run: pnpm run test:reporter:visual
env:
CI: true
VIZZLY_TOKEN: ${{ secrets.VIZZLY_REPORTER_TOKEN }}
VIZZLY_COMMIT_MESSAGE: ${{ github.event.pull_request.head.commit.message || github.event.head_commit.message }}
VIZZLY_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.head_commit.id }}