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
Sebastian Malton a8b8052d02 Replace yarn with npm for all scripts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2023-01-09 09:37:11 -05:00

32 lines
825 B
YAML

name: Check Documentation
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
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 typedocs-extensions-api
- name: Verify that the markdown is valid
run: |
npm run verify-docs