Skip to content

Commit

Permalink
feat(apidocs): validate docs on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Oct 10, 2023
1 parent 15dba96 commit 1939db8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1939db8

Please sign in to comment.