mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add generating API docs before verifying
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
15d887010f
commit
c41334820c
5
.github/workflows/check-docs.yml
vendored
5
.github/workflows/check-docs.yml
vendored
@ -37,6 +37,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
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
|
- name: Verify that the markdown is valid
|
||||||
run: |
|
run: |
|
||||||
yarn run verify-docs
|
yarn run verify-docs
|
||||||
|
|||||||
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -41,15 +41,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Verify that the markdown is valid
|
|
||||||
run: |
|
|
||||||
yarn run verify-docs
|
|
||||||
|
|
||||||
- name: Generate Extensions API Reference using typedocs
|
- name: Generate Extensions API Reference using typedocs
|
||||||
run: |
|
run: |
|
||||||
yarn install
|
yarn install
|
||||||
yarn typedocs-extensions-api
|
yarn typedocs-extensions-api
|
||||||
|
|
||||||
|
- name: Verify that the markdown is valid
|
||||||
|
run: |
|
||||||
|
yarn run verify-docs
|
||||||
|
|
||||||
- name: mkdocs deploy master
|
- name: mkdocs deploy master
|
||||||
if: contains(github.ref, 'refs/heads/master')
|
if: contains(github.ref, 'refs/heads/master')
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user