File tree 3 files changed +28
-9
lines changed
3 files changed +28
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : validate-markdown
2
+
3
+ # Author: @MikeRalphson
4
+ # Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130
5
+
6
+ #
7
+ # This workflow validates files in the versions directory matching 3.*.md
8
+ # Versions before 3.0 are not validated, as they contain linking errors
9
+ # where it is not currently planned to go back and fix them
10
+ #
11
+
12
+ # run this on push to any branch and creation of pull-requests
13
+ on : [push, pull_request]
14
+
15
+ jobs :
16
+ mdv :
17
+
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - uses : actions/checkout@v1 # checkout repo content
22
+ - uses : actions/setup-node@v1 # setup Node.js
23
+ with :
24
+ node-version : ' 12.x'
25
+ - name : Validate markdown
26
+ run : npx mdv versions/3.*.md
27
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 18
18
" schemas/*"
19
19
],
20
20
"dependencies" : {},
21
- "devDependencies" : {
22
- "mdv" : " ^1.0.7"
23
- },
21
+ "devDependencies" : {},
24
22
"keywords" : [
25
23
" OpenAPI" ,
26
24
" OAS" ,
You can’t perform that action at this time.
0 commit comments