Skip to content

Fix/schema seo dashboard issues #20

Fix/schema seo dashboard issues

Fix/schema seo dashboard issues #20

Workflow file for this run

name: E2E (Playwright)
on:
pull_request_target:
paths:
- "frontend/**"
- ".github/workflows/e2e.yml"
push:
branches:
- main
paths:
- "frontend/**"
- ".github/workflows/e2e.yml"
jobs:
e2e:
name: Playwright E2E
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
allow-unsafe-pr-checkout: true
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache-dependency-path: frontend/package-lock.json
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run build
- name: Run Playwright tests
run: npm run test:e2e
env:
CI: true
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-${{ github.sha }}
path: frontend/playwright-report/
retention-days: 14