Skip to content

chore(deps-dev): bump the minor-development-deps group across 1 direc… #1302

chore(deps-dev): bump the minor-development-deps group across 1 direc…

chore(deps-dev): bump the minor-development-deps group across 1 direc… #1302

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 18
- 20
react: [16, 17, 18]
name: build (${{ matrix.node }} w/ React ${{ matrix.react }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Install Compatible @testing-library/react
if: matrix.react == '16' || matrix.react == '17'
run: |
npm install @testing-library/react@12
- name: Install React v${{ matrix.react }}
run: npm i react@${{ matrix.react }} react-dom@${{ matrix.react }}
- name: Run tests on React ${{ matrix.react }}
run: REACT_VERSION=${{ matrix.react }} npm test