File tree Expand file tree Collapse file tree 4 files changed +135
-0
lines changed Expand file tree Collapse file tree 4 files changed +135
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test Android build
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ paths :
7
+ - ' android/**'
8
+ push :
9
+ branches :
10
+ - master
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ WORKING_DIRECTORY : examples/Example
16
+ concurrency :
17
+ group : android-${{ github.ref }}
18
+ cancel-in-progress : true
19
+ steps :
20
+ - name : checkout
21
+ uses : actions/checkout@v2
22
+ - name : Use Node.js 14
23
+ uses : actions/setup-node@v2
24
+ with :
25
+ node-version : 14
26
+ cache : ' yarn'
27
+ - name : Install node dependencies
28
+ working-directory : ${{ env.WORKING_DIRECTORY }}
29
+ run : yarn
30
+ - name : Build app
31
+ working-directory : ${{ env.WORKING_DIRECTORY }}/android
32
+ run : ./gradlew assembleDebug --console=plain
Original file line number Diff line number Diff line change
1
+ name : Test iOS build
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ paths :
7
+ - ' ios/**'
8
+ push :
9
+ branches :
10
+ - master
11
+ jobs :
12
+ build :
13
+ runs-on : macos-latest
14
+ env :
15
+ WORKING_DIRECTORY : examples/Example
16
+ concurrency :
17
+ group : ios-${{ github.ref }}
18
+ cancel-in-progress : true
19
+ steps :
20
+ - name : checkout
21
+ uses : actions/checkout@v2
22
+ - name : Use Node.js 14
23
+ uses : actions/setup-node@v2
24
+ with :
25
+ node-version : 14
26
+ cache : ' yarn'
27
+ - name : Install node dependencies
28
+ working-directory : ${{ env.WORKING_DIRECTORY }}
29
+ run : yarn
30
+ - name : Install pods
31
+ working-directory : ${{ env.WORKING_DIRECTORY }}/ios
32
+ run : pod install
33
+ - name : Build app
34
+ working-directory : ${{ env.WORKING_DIRECTORY }}
35
+ run : yarn ios
Original file line number Diff line number Diff line change
1
+ name : Test Example App TypeScript and Lint
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ paths :
7
+ - ' examples/Example/**'
8
+ push :
9
+ branches :
10
+ - master
11
+ jobs :
12
+ check :
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ WORKING_DIRECTORY : examples/Example
16
+ concurrency :
17
+ group : static-example-${{ github.ref }}
18
+ cancel-in-progress : true
19
+ steps :
20
+ - name : checkout
21
+ uses : actions/checkout@v2
22
+ - name : Use Node.js 14
23
+ uses : actions/setup-node@v2
24
+ with :
25
+ node-version : 14
26
+ cache : ' yarn'
27
+ - name : Install root node dependencies
28
+ run : yarn
29
+ - name : Install example app node dependencies
30
+ working-directory : ${{ env.WORKING_DIRECTORY }}
31
+ run : yarn
32
+ - name : Check types
33
+ working-directory : ${{ env.WORKING_DIRECTORY }}
34
+ run : yarn tsc --noEmit
35
+ - name : Lint
36
+ working-directory : ${{ env.WORKING_DIRECTORY }}
37
+ run : yarn lint-check
Original file line number Diff line number Diff line change
1
+ name : Test TypeScript and Lint
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - master
6
+ paths :
7
+ - ' src/**'
8
+ - ' *'
9
+ push :
10
+ branches :
11
+ - master
12
+ jobs :
13
+ check :
14
+ runs-on : ubuntu-latest
15
+ concurrency :
16
+ group : static-example-${{ github.ref }}
17
+ cancel-in-progress : true
18
+ steps :
19
+ - name : checkout
20
+ uses : actions/checkout@v2
21
+ - name : Use Node.js 14
22
+ uses : actions/setup-node@v2
23
+ with :
24
+ node-version : 14
25
+ cache : ' yarn'
26
+ - name : Install node dependencies
27
+ run : yarn
28
+ - name : Check types
29
+ run : yarn tsc --noEmit
30
+ - name : Lint
31
+ run : yarn lint-check
You can’t perform that action at this time.
0 commit comments