Skip to content

Updated to typescript and to use the latest jest #305

Updated to typescript and to use the latest jest

Updated to typescript and to use the latest jest #305

Workflow file for this run

name: tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
react-version: [18, 19]
steps:
- uses: actions/checkout@v4
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install specific React version
run: npm install react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }}
- name: Install dependencies
run: npm install
- name: Run the tests
run: npm test
env:
CI: true