Skip to content

CI tests

CI tests #19

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
matrix:
include:
- os: ubuntu-latest
browser: firefox
- os: ubuntu-latest
browser: chromium
- os: macos-latest
browser: webkit
- os: windows-latest
browser: msedge
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps ${{ matrix.browser }}
- name: Run Playwright tests
run: pnpm test -- --project=${{ matrix.browser }}