-
-
Notifications
You must be signed in to change notification settings - Fork 25
32 lines (28 loc) · 884 Bytes
/
build.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
name: Build CHT Conf and test against node versions
on: [push, pull_request]
jobs:
build:
name: Build for Node version ${{ matrix.node-version }}
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 18.x]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pyxform
run: pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic
- name: npm ci and test
run: npm ci && npm test
- name: Archive Results
uses: actions/upload-artifact@v2
with:
name: Coverage Report ${{ matrix.node-version }}
path: |
coverage
.nyc_output
if: ${{ failure() }}