Skip to content

Commit c4675f3

Browse files
committed
Update workflow actions to node 14
Signed-off-by: Mike Ralphson <[email protected]>
1 parent 8828e97 commit c4675f3

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/schema-tests.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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: Run tests
28+
run: npm run test
29+

.github/workflows/validate-markdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
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

0 commit comments

Comments
 (0)