File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 40
40
- name : Install npm dependencies
41
41
run : npm ci
42
42
43
- - name : Build docs
44
- run : mkdocs build --strict
45
-
46
- - name : Test
43
+ - name : Build and test
47
44
run : npm test
Original file line number Diff line number Diff line change 16
16
},
17
17
"homepage" : " https://docs.pi-hole.net/" ,
18
18
"scripts" : {
19
- "build" : " mkdocs build --clean" ,
19
+ "build" : " mkdocs build --clean --strict " ,
20
20
"markdownlint" : " markdownlint-cli2 \" **/*.md\" \" !**/node_modules/**\" " ,
21
- "linkinator" : " npm run build && linkinator site --recurse --silent --skip \" ^(?!http://localhost)\" " ,
21
+ "linkinator" : " linkinator site --recurse --silent --skip \" ^(?!http://localhost)\" " ,
22
+ "pretest" : " npm run build" ,
22
23
"test" : " npm run markdownlint && npm run linkinator" ,
23
- "serve" : " mkdocs serve --dev-addr 0.0.0.0:8000"
24
+ "serve" : " mkdocs serve --dev-addr 0.0.0.0:8000" ,
25
+ "start" : " npm run serve"
24
26
},
25
27
"devDependencies" : {
26
28
"linkinator" : " ^6.1.2" ,
You can’t perform that action at this time.
0 commit comments