File tree 1 file changed +29
-29
lines changed
1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 1
1
name : Build Android and iOS
2
2
on :
3
- push :
4
- branches :
5
- - master
3
+ push :
4
+ branches :
5
+ - master
6
6
jobs :
7
- install-and-test :
8
- runs-on : ubuntu-latest
9
- steps :
10
- - uses : actions/checkout@v2
11
- - name : Install npm dependencies
12
- run : |
13
- npm install
14
- - name : Run tests
15
- run : |
16
- npm test
17
- build-android :
18
- needs : install-and-test
19
- runs-on : ubuntu-latest
20
- steps :
21
- - uses : actions/checkout@v2
22
- - name : Install npm dependencies
23
- run : |
24
- npm install
25
- - name : Build Android Release
26
- run : |
27
- NODE_OPTIONS=--openssl-legacy-provider npm run build-android
28
- - name : Upload Artifact
29
- uses : actions/upload-artifact@v1
30
- with :
31
- name : app-release.apk
32
- path : android/app/build/outputs/apk/release/
7
+ install-and-test :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Install npm dependencies
12
+ run : |
13
+ npm install --lockfile-version 1
14
+ - name : Run tests
15
+ run : |
16
+ npm test
17
+ build-android :
18
+ needs : install-and-test
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - name : Install npm dependencies
23
+ run : |
24
+ npm install --lockfile-version 1
25
+ - name : Build Android Release
26
+ run : |
27
+ NODE_OPTIONS=--openssl-legacy-provider npm run build-android
28
+ - name : Upload Artifact
29
+ uses : actions/upload-artifact@v1
30
+ with :
31
+ name : app-release.apk
32
+ path : android/app/build/outputs/apk/release/
You can’t perform that action at this time.
0 commit comments