-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 953 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Set node version
- uses: actions/setup-node@v2
with:
node-version: "12.14.1"
- name: Set NPM 7
run: npm install -g [email protected]
- name: ZIP development protocol
run: zip Development.netcanvas * -r -0
- name: Checkout protocol validation
uses: actions/checkout@v2
with:
repository: complexdatacollective/protocol-validation
ref: feature/schema-version-8
path: protocol-validation
- name: Install protocol validation
run: |
cd protocol-validation
npm install
- name: Validate protocol
run: |
cd protocol-validation
npm run validate-protocol ../Development.netcanvas