FezVrasta/popper.js

View on GitHub
.github/workflows/update-snapshots.yml

Summary

Maintainability
Test Coverage
name: Update Visual Snapshots
on: [workflow_dispatch]
env:
  PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 # Skip downloading during yarn install
  PLAYWRIGHT_BROWSERS_PATH: 0 # Places binaries to node_modules/@playwright/test

jobs:
  functional-tests:
    name: Functional
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: ./.github/actions/setup
      - run: npx playwright install --with-deps chromium
      - run: pnpm run playwright:update
      - uses: EndBug/add-and-commit@v7
        with:
          add: '.'
          author_name: 'GitHub Actions'
          author_email: 'github-actions@github.com'
          message: 'test: update visual snapshots'