Skip to content

chore(deps-dev): bump @testing-library/react from 14.2.2 to 15.0.5 #1247

chore(deps-dev): bump @testing-library/react from 14.2.2 to 15.0.5

chore(deps-dev): bump @testing-library/react from 14.2.2 to 15.0.5 #1247

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