Skip to content

Playwright Tests

Playwright Tests #8

Workflow file for this run

name: Playwright Tests
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.48.1-jammy
env:
CI: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Install dependencies
run: npm ci
- name: Run Playwright tests
run: npx playwright test --project=ci
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30