File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Expand file tree Collapse file tree 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 2121 - uses : actions/checkout@v2 # checkout repo content
2222 - uses : actions/setup-node@v1 # setup Node.js
2323 with :
24- node-version : ' 12 .x'
24+ node-version : ' 14 .x'
2525 - name : Validate markdown
2626 run : npx mdv versions/3.*.md
2727
You can’t perform that action at this time.
0 commit comments