1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/.github/workflows/check-docs.yml
Iku-turso 6f4fb39936 chore: Revert non-working way to specify npm version in ci
This reverts commit 1232445e0a.

Co-authored-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
2023-05-04 14:23:22 +02:00

33 lines
788 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: |
npm install
npm run build:docs
- name: Verify that the markdown is valid
run: |
npm run mkdocs:verify