Skip to content

Add snapshot regression tests using Playwright #1

Add snapshot regression tests using Playwright

Add snapshot regression tests using Playwright #1

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: [22]

Check failure on line 15 in .github/workflows/playwright.yml

View workflow run for this annotation

GitHub Actions / Playwright Tests

Invalid workflow file

The workflow is not valid. .github/workflows/playwright.yml (Line: 15, Col: 25): A sequence was not expected
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npm run playwright:setup
- name: Run Playwright tests
run: npm run test:playwright
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30