Skip to content

Playwright Tests

Playwright Tests #767

Workflow file for this run

name: Playwright Tests
on: workflow_dispatch
permissions:
contents: read
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build docs
run: npm run docs:build
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
# Run even if a previous step fails:
if: always()
with:
name: report
path: report/
retention-days: 30