-
Notifications
You must be signed in to change notification settings - Fork 66
37 lines (33 loc) · 908 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
name: CI
on:
push:
branches:
- master
- 'v*' # older version branches
tags:
- '*'
pull_request: {}
schedule:
- cron: '0 6 * * 0' # weekly, on sundays
jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['10', '12']
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- uses: rwjblue/setup-volta@v1
with:
node-version: ${{ matrix.node }}
- name: install osx native dependencies
if: matrix.os == 'macOS-latest'
run: brew install automake autoconf libtool openssl
- name: install dependencies
run: yarn
- name: setup watchman
run: git clone https://github.com/facebook/watchman.git && cd watchman && git checkout v4.7.0 && ./autogen.sh && ./configure --enable-lenient && make && sudo make install
- name: test
run: yarn test