This repository was archived by the owner on Dec 19, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build CI
2
+
3
+ # Trigger the workflow on push or pull request
4
+ on :
5
+ schedule :
6
+ # * is a special character in YAML so you have to quote this string
7
+ - cron : " 01 * * * 1"
8
+
9
+ jobs :
10
+ build :
11
+ name : Build
12
+
13
+ runs-on : macos-latest
14
+ steps :
15
+ - uses : actions/checkout@v1
16
+
17
+ - name : Set Node.js 10.x
18
+ uses : actions/setup-node@v1
19
+ with :
20
+ node-version : " 10.x"
21
+
22
+ - name : Build Plugin Source
23
+ run : cd src && npm i && npm i -g typescript && tsc
24
+
25
+ - name : Lint
26
+ run : cd src && npm run tslint
27
+
28
+ - name : Setup JDK 1.8
29
+ uses : actions/setup-java@v1
30
+ with :
31
+ java-version : 1.8
32
+
33
+ - name : Install PIP
34
+ run : |
35
+ sudo pip install --upgrade pip
36
+ sudo pip install six
37
+
38
+ - name : Setup NativeScript CLI
39
+ run : |
40
+ echo no | npm i -g nativescript
41
+ tns usage-reporting disable
42
+ tns error-reporting disable
43
+
44
+ - name : Build Android Demo App
45
+ run : |
46
+ cd demo
47
+ tns build android --env.uglify
48
+ - name : Build iOS Demo App
49
+ run : |
50
+ cd demo
51
+ tns build ios --env.uglify
You can’t perform that action at this time.
0 commit comments