Skip to content

refactor: split client and server types (#18) #58

refactor: split client and server types (#18)

refactor: split client and server types (#18) #58

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths:
- '**.ts'
- '**.js'
- '**.ts'
- '**.mts'
- '**.cts'
- '**.js'
- '**.mjs'
- '**.cjs'
- '**.json'
- '.github/workflows/test.yml'
pull_request:
branches:
- main
paths:
- '**.ts'
- '**.mts'
- '**.cts'
- '**.js'
- '**.mjs'
- '**.cjs'
- '**.json'
- '.github/workflows/test.yml'
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
browser: [ chromium, firefox, webkit ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: '18'
- run: npm ci
- run: npx playwright install --with-deps ${{ matrix.browser }}
- run: npm run test-${{ matrix.browser }}