From c41334820c16d8a71b2b74166a05bffc8f1ff454 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 26 Nov 2020 13:18:33 -0500 Subject: [PATCH] add generating API docs before verifying Signed-off-by: Sebastian Malton --- .github/workflows/check-docs.yml | 5 +++++ .github/workflows/main.yml | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index bf29c0f366..69b3b7e6d5 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -37,6 +37,11 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: Generate Extensions API Reference using typedocs + run: | + yarn install + yarn typedocs-extensions-api + - name: Verify that the markdown is valid run: | yarn run verify-docs diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ca4a66b14..25e259be6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,15 +41,15 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Verify that the markdown is valid - run: | - yarn run verify-docs - - name: Generate Extensions API Reference using typedocs run: | yarn install yarn typedocs-extensions-api + - name: Verify that the markdown is valid + run: | + yarn run verify-docs + - name: mkdocs deploy master if: contains(github.ref, 'refs/heads/master') run: |