From ac06c2409d6e9881c644e6e761d790a51e6be5c1 Mon Sep 17 00:00:00 2001 From: Teo Gebhard Date: Mon, 9 Dec 2024 14:14:07 +0200 Subject: [PATCH] smoke test --- .github/workflows/test-docs.yml | 2 +- docs/api-docs-smoke-test.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 docs/api-docs-smoke-test.sh diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 521b03edc4..bc6345dbff 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -21,4 +21,4 @@ jobs: run: npm run bootstrap - name: Build documentation working-directory: ./docs - run: npm ci && npm run build + run: npm ci && npm run build && ./api-docs-smoke-test.sh diff --git a/docs/api-docs-smoke-test.sh b/docs/api-docs-smoke-test.sh new file mode 100755 index 0000000000..86ea8b1a6b --- /dev/null +++ b/docs/api-docs-smoke-test.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# If TypeDoc succeeds, it creates the directory and generates multiple markdown files within it + +if [ ! -d "docs/usage/sdk/api" ]; then + exit 1 +fi \ No newline at end of file