diff --git a/test/scripts/checks/type_check.sh b/test/scripts/checks/type_check.sh index 5e091625de4ed0..385a34bee1abf7 100755 --- a/test/scripts/checks/type_check.sh +++ b/test/scripts/checks/type_check.sh @@ -3,4 +3,5 @@ source src/dev/ci_setup/setup_env.sh checks-reporter-with-killswitch "Check Types" \ + node scripts/build_ts_refs && \ node scripts/type_check diff --git a/test/scripts/jenkins_unit.sh b/test/scripts/jenkins_unit.sh index 996dfdc4149173..9e387f97a016e8 100755 --- a/test/scripts/jenkins_unit.sh +++ b/test/scripts/jenkins_unit.sh @@ -17,7 +17,6 @@ if [[ -z "$CODE_COVERAGE" ]] ; then ./test/scripts/checks/ts_projects.sh ./test/scripts/checks/jest_configs.sh ./test/scripts/checks/doc_api_changes.sh - ./test/scripts/checks/build_ts_refs.sh ./test/scripts/checks/type_check.sh ./test/scripts/checks/bundle_limits.sh ./test/scripts/checks/i18n.sh diff --git a/vars/tasks.groovy b/vars/tasks.groovy index f00d3d19f55c58..7c40966ff5e04c 100644 --- a/vars/tasks.groovy +++ b/vars/tasks.groovy @@ -9,7 +9,6 @@ def check() { kibanaPipeline.scriptTask('Check TypeScript Projects', 'test/scripts/checks/ts_projects.sh'), kibanaPipeline.scriptTask('Check Jest Configs', 'test/scripts/checks/jest_configs.sh'), kibanaPipeline.scriptTask('Check Doc API Changes', 'test/scripts/checks/doc_api_changes.sh'), - kibanaPipeline.scriptTask('Build Typescript Refs', 'test/scripts/checks/build_ts_refs.sh'), kibanaPipeline.scriptTask('Check Types', 'test/scripts/checks/type_check.sh'), kibanaPipeline.scriptTask('Check Bundle Limits', 'test/scripts/checks/bundle_limits.sh'), kibanaPipeline.scriptTask('Check i18n', 'test/scripts/checks/i18n.sh'),