Skip to content

test

test #150

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install test-harness-react-17 dependencies
working-directory: ./test-harness-react-17
run: npm ci
- name: Install playwright dependencies
run: npx playwright install --with-deps
- name: Build
run: npm run build
- name: Unit Tests
run: npm run test
- name: Test React 18
run: npm run browser-test-18-ci
- name: Test React 17
run: npm run browser-test-17-ci