Skip to content

v2.4.1

v2.4.1 #1526

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 [email protected] [email protected] @types/[email protected] @testing-library/react@12
npm run build
node_matrix: '["16.x", "18.x", "20.x"]'