-
Notifications
You must be signed in to change notification settings - Fork 83
48 lines (36 loc) · 1.07 KB
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Docs
on:
push:
branches:
- develop
pull_request:
types: [opened, synchronize]
env:
NODE_VERSION: 18.16.0
jobs:
Docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install root dependencies
run: npm ci
- name: Check KB Labels
run: node docs/check-kb-labels
- name: Check Documentation Overview
run: node docs/check-documentation-overview
- name: Synchronize Automated Formly Documentation
run: npx ts-node docs/sync-formly-docs.ts --ci
- name: Run Formatting
run: npm exec npm-run-all format check-no-changes
- name: Fast Check Dead Links For All Files
run: node docs/check-dead-links.mjs fast
- name: Check Dead Links For Changed Files
if: github.ref != 'refs/heads/develop'
run: node docs/check-dead-links.mjs origin/develop