Skip to content

Removed visual regression tests #5

Removed visual regression tests

Removed visual regression tests #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
name: Build & accessibility
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build CSS
run: npm run build
- name: Start wp-env
run: npx wp-env start
- name: Seed content
run: bash tests/seed.sh
- name: Install Playwright browser
run: npx playwright install --with-deps chromium
- name: Accessibility tests
run: npm run test:a11y
env:
CI: true
TEST_BASE_URL: http://localhost:8888
- name: Upload report on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: |
playwright-report/
test-results/
retention-days: 7