From f48b44e3583e85ba49862d6fda50a71e858e8b49 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Wed, 3 May 2023 20:23:44 -0400 Subject: [PATCH] chore: Build API reference so it can be cross referenced Signed-off-by: Adam Harvey --- .github/workflows/verify_techdocs_mkdocs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/verify_techdocs_mkdocs.yml b/.github/workflows/verify_techdocs_mkdocs.yml index 7bd08c60fa..6d83ed0772 100644 --- a/.github/workflows/verify_techdocs_mkdocs.yml +++ b/.github/workflows/verify_techdocs_mkdocs.yml @@ -10,6 +10,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + + # Generate the API Reference docs which MkDocs cross-references + + - name: use node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - name: yarn install + uses: backstage/actions/yarn-install@v0.6.3 + with: + cache-prefix: ${{ runner.os }}-v18.x + + - name: build API reference + run: yarn build:api-docs + + + # Setup and start the MkDocs configuration + - uses: actions/setup-python@v4 with: python-version: '3.10'