From 1939db8f0d43ff73e990fa645c2f97541a27d9e5 Mon Sep 17 00:00:00 2001 From: Roland Kakonyi Date: Tue, 10 Oct 2023 11:40:13 +0200 Subject: [PATCH] feat(apidocs): validate docs on CI --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99273bae..5c160338 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,29 @@ jobs: - name: Compile TypeScript run: yarn typescript + test-build-docs: + name: Build API docs + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup node and npm registry + uses: actions/setup-node@v3 + with: + node-version: '16' + registry-url: 'https://registry.npmjs.org/' + cache: 'yarn' + + - name: Install node_modules + run: yarn install --frozen-lockfile + + - name: Install node_modules (example/) + run: yarn install --frozen-lockfile --cwd example + + - name: Build docs + run: yarn docs + test-build-android: name: Build Android runs-on: ubuntu-latest