[8.10] Reenable type check in api docs build (#167839) (#167842)

# Backport

This will backport the following commits from `main` to `8.10`:
- [Reenable type check in api docs build
(#167839)](https://github.com/elastic/kibana/pull/167839)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Brad
White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-02T23:18:13Z","message":"Reenable
type check in api docs build (#167839)\n\n## Summary\r\n\r\nThis was
missed as part of
#167392","sha":"f6d505ab5014f7bb757480b86ab2ab3d5fe05d6c","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.11.0"],"number":167839,"url":"https://github.com/elastic/kibana/pull/167839","mergeCommit":{"message":"Reenable
type check in api docs build (#167839)\n\n## Summary\r\n\r\nThis was
missed as part of
#167392","sha":"f6d505ab5014f7bb757480b86ab2ab3d5fe05d6c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/167839","number":167839,"mergeCommit":{"message":"Reenable
type check in api docs build (#167839)\n\n## Summary\r\n\r\nThis was
missed as part of
#167392","sha":"f6d505ab5014f7bb757480b86ab2ab3d5fe05d6c"}}]}]
BACKPORT-->

Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-10-02 20:26:09 -04:00 committed by GitHub
parent 6228c81432
commit cfbd78bcc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,8 @@ set -euo pipefail
.buildkite/scripts/bootstrap.sh .buildkite/scripts/bootstrap.sh
# TODO: Enable in #166813 after fixing types echo "--- Run scripts/type_check to ensure that all build available"
# echo "--- Run scripts/type_check to ensure that all build available" node scripts/type_check
# node scripts/type_check
echo "--- Build API Docs" echo "--- Build API Docs"
node --max-old-space-size=12000 scripts/build_api_docs node --max-old-space-size=12000 scripts/build_api_docs