Skip to content

Building it as ESM #314

Building it as ESM

Building it as ESM #314

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@v6
- name: Use Node.js latest
uses: actions/setup-node@v6
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