mirror of
https://github.com/lensapp/lens.git
synced 2024-11-10 10:36:25 +03:00
b350ea5900
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Malton <sebastian@malton.name>
32 lines
826 B
YAML
32 lines
826 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: [14.x]
|
|
steps:
|
|
- name: Checkout Release from lens
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Using Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
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
|
|
run: |
|
|
yarn run verify-docs
|