|
@@ -3,7 +3,7 @@ name: CI
|
3
|
3
|
on: [push, pull_request]
|
4
|
4
|
|
5
|
5
|
jobs:
|
6
|
|
- install-deps:
|
|
6
|
+ js-tests:
|
7
|
7
|
runs-on: ubuntu-latest
|
8
|
8
|
steps:
|
9
|
9
|
- uses: actions/checkout@v1
|
|
@@ -15,15 +15,19 @@ jobs:
|
15
|
15
|
run: npm install -g yarn
|
16
|
16
|
- name: Install dependencies
|
17
|
17
|
run: yarn install
|
18
|
|
- js-tests:
|
19
|
|
- runs-on: ubuntu-latest
|
20
|
|
- needs: install-deps
|
21
|
|
- steps:
|
22
|
18
|
- name: Run tests
|
23
|
19
|
run: yarn test
|
24
|
20
|
android-build:
|
25
|
21
|
runs-on: ubuntu-latest
|
26
|
|
- needs: install-deps
|
27
|
22
|
steps:
|
|
23
|
+ - uses: actions/checkout@v1
|
|
24
|
+ - name: Use Node.js 12.x
|
|
25
|
+ uses: actions/setup-node@v1
|
|
26
|
+ with:
|
|
27
|
+ node-version: 12.x
|
|
28
|
+ - name: Install yarn
|
|
29
|
+ run: npm install -g yarn
|
|
30
|
+ - name: Install dependencies
|
|
31
|
+ run: yarn install
|
28
|
32
|
- name: Build android example app
|
29
|
33
|
run: cd example/app && ./gradlew assembleRelease
|