File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : schema-test
2
+
3
+ # Author: @MikeRalphson / runs @jdesrosiers tests
4
+ # Issue: https://github.com/OAI/OpenAPI-Specification/pull/2489
5
+
6
+ #
7
+ # This workflow runs the npm test script to validate passing and failing
8
+ # testcases for the metaschema.
9
+ #
10
+
11
+ # run this on push to any branch and creation of pull-requests
12
+ on :
13
+ push : {}
14
+ pull_request : {}
15
+ workflow_dispatch : {}
16
+
17
+ jobs :
18
+ test :
19
+
20
+ runs-on : ubuntu-latest
21
+
22
+ steps :
23
+ - uses : actions/checkout@v1 # checkout repo content
24
+ - uses : actions/setup-node@v1 # setup Node.js
25
+ with :
26
+ node-version : ' 14.x'
27
+ - name : Install dependencies
28
+ run : npm i
29
+ - name : Run tests
30
+ run : npm run test
31
+
Original file line number Diff line number Diff line change 21
21
- uses : actions/checkout@v2 # checkout repo content
22
22
- uses : actions/setup-node@v1 # setup Node.js
23
23
with :
24
- node-version : ' 12 .x'
24
+ node-version : ' 14 .x'
25
25
- name : Validate markdown
26
26
run : npx mdv versions/3.*.md
27
27
You can’t perform that action at this time.
0 commit comments