-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (42 loc) · 1.07 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
name: Build
on:
- push
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '10.15.3'
- name: Install dependencies
run: yarn install --ignore-engines --network-timeout 1000000
- name: Post-install
run: yarn postinstall
- name: Lint
run: yarn lint
- name: Flow
run: yarn flow
- name: Build End-to-End Tests
run: yarn build-e2e
- name: Run End-to-End Tests
run: xvfb-run --server-args="-screen 0 1280x720x24" yarn test-e2e
build:
runs-on: ${{ matrix.os }}
needs: test
strategy:
matrix:
os:
- windows-2019
- macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '10.15.3'
- name: Install dependencies
run: yarn install --ignore-engines --network-timeout 1000000
- name: Post-install
run: yarn postinstall
- name: Build
run: yarn build