Skip to content

Run site tests

Run site tests #85

Workflow file for this run

name: Run site tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '42 23 * * 6'
jobs:
test:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Running lint and type check
run: npm run lint && npm run check-types
- name: Build
run: npm run build
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npm run test-sites