-
Notifications
You must be signed in to change notification settings - Fork 4
31 lines (29 loc) · 832 Bytes
/
ci.yml
File metadata and controls
31 lines (29 loc) · 832 Bytes
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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test on node ${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [12, 14, 16, 17]
steps:
- uses: actions/checkout@master
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node_version }}
- name: Install dependencies
# TODO switch away from jsen and figure out impact of library change and migration steps on applications using this.
run: npm ci --no-audit
- name: build:lib, test:integration
run: |
# Actually runs typescript, eslint is failing
npm run lint || exit 1
npm run test || exit 1