mirror of
https://github.com/lensapp/lens.git
synced 2024-09-20 22:07:31 +03:00
20c0fd912f
* Fix building docs and verify:docs workflow Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix commands Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
33 lines
791 B
YAML
33 lines
791 B
YAML
name: Check Documentation
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "**"
|
|
jobs:
|
|
build:
|
|
name: Check Docs
|
|
runs-on: ubuntu-latest
|
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'area/documentation') }}
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
steps:
|
|
- name: Checkout Release from lens
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Using Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
- name: Generate Extensions API Reference using typedocs
|
|
run: |
|
|
yarn install
|
|
yarn run build:docs
|
|
|
|
- name: Verify that the markdown is valid
|
|
run: |
|
|
yarn run mkdocs:verify
|