File tree Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Expand file tree Collapse file tree 1 file changed +5
-21
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ main ]
8
8
9
9
jobs :
10
- markdown-lint :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - uses : actions/checkout@v3
14
-
15
- - name : Setup Node.js
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 16
19
-
20
- - name : Install markdownlint-cli
21
- run : npm install -g markdownlint-cli
22
-
23
- - name : Run markdownlint
24
- run : markdownlint '**/*.md' --ignore node_modules
25
-
26
10
check-links :
27
11
runs-on : ubuntu-latest
28
12
steps :
29
13
- uses : actions/checkout@v3
30
-
14
+
31
15
- name : Setup Node.js
32
16
uses : actions/setup-node@v3
33
17
with :
34
18
node-version : ' 16'
35
-
19
+
36
20
- name : Install dependencies
37
21
run : npm install -g markdown-link-check
38
-
22
+
39
23
- name : Check links
40
24
run : ./tools/check_links.sh
41
-
25
+
42
26
- name : Generate TOC
43
27
run : |
44
28
python3 ./tools/generate_summary.py
45
- git diff --exit-code SUMMARY.md || (echo "SUMMARY.md is out of date. Please run ./tools/generate_summary.py and commit the changes" && exit 1)
29
+ git diff --exit-code SUMMARY.md || (echo "SUMMARY.md is out of date. Please run ./tools/generate_summary.py and commit the changes" && exit 1)
You can’t perform that action at this time.
0 commit comments