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