Skip to content

Commit

Permalink
Merge pull request #285 from bitmovin/validate-docs-on-ci
Browse files Browse the repository at this point in the history
Validate API docs on CI
  • Loading branch information
rolandkakonyi authored Oct 12, 2023
2 parents 72e319e + 1939db8 commit a42b11e
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 a42b11e

Please sign in to comment.