forked from ntegan1/capnp-ts-op
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 865 Bytes
/
ci.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:
push:
branches: main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "20"
- "21"
name: Test on node v${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup node
uses: actions/setup-node@v3
with:
check-latest: true
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
sudo apt-get install capnproto libcapnp-dev
npm i -g npm@latest
npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: commaai/cereal test
run: npm run cereal