Skip to content

Merge main (v2.4.1) into develop #1528

Merge main (v2.4.1) into develop

Merge main (v2.4.1) into develop #1528

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
call_run_tests:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
node_matrix: '["16.x", "18.x", "20.x"]'
# It's necessary to use v12 of the react-testing-library since v13 was updated to only support react 18
call_run_tests-react-17:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
build_script: |
npm i -D react@17 react-dom@17 @types/react@17 @testing-library/react@12
npm run build
node_matrix: '["16.x", "18.x", "20.x"]'
call_run_tests-react-16:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
with:
build_script: |
npm i -D react@16.14 react-dom@16.14 @types/react@16.14 @testing-library/react@12
npm run build
node_matrix: '["16.x", "18.x", "20.x"]'