Skip to content

update search-headless dependencies version to 2.6.0-beta #1498

update search-headless dependencies version to 2.6.0-beta

update search-headless dependencies version to 2.6.0-beta #1498

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"]'