workflows: generate API reference as part of CI to check links

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-09-12 12:25:09 +02:00
parent 8d30e0ec04
commit 2485ea499d
+6 -5
View File
@@ -105,9 +105,6 @@ jobs:
run: git diff --quiet origin/master HEAD -- yarn.lock
continue-on-error: true
- name: verify doc links
run: node scripts/verify-links.js
- name: prettier
run: yarn prettier:check '!ADOPTERS.md'
@@ -123,8 +120,12 @@ jobs:
- name: type checking and declarations
run: yarn tsc:full
- name: check api reports
run: yarn build:api-reports:only --ci
# We need to generate the API references as well, so that we can verify the doc links
- name: check api reports and generate API reference
run: yarn build:api-reports:only --ci --docs
- name: verify doc links
run: node scripts/verify-links.js
- name: build changed packages
if: ${{ steps.yarn-lock.outcome == 'success' }}