File tree 1 file changed +56
-0
lines changed
1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - v6
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ env :
11
+ NODE_VERSION : 18
12
+ JAVA_VERSION : 17
13
+
14
+ jobs :
15
+ build :
16
+ name : Build
17
+ runs-on : macos-14
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ - name : Set up Node.js ${{ env.NODE_VERSION }}
22
+ uses : actions/setup-node@v4
23
+ with :
24
+ node-version : ${{ env.NODE_VERSION }}
25
+ - name : Set up Java ${{ env.JAVA_VERSION }}
26
+ uses : actions/setup-java@v4
27
+ with :
28
+ distribution : ' zulu'
29
+ java-version : ${{ env.JAVA_VERSION }}
30
+ - name : Install dependencies
31
+ run : npm ci
32
+ - name : Build iOS
33
+ run : npm run verify:ios
34
+ - name : Build Android
35
+ run : npm run verify:android
36
+ - name : Build Web
37
+ run : npm run verify:web
38
+ - name : Upload artifacts
39
+ uses : actions/upload-artifact@v4
40
+ with :
41
+ name : dist
42
+ path : dist
43
+ lint :
44
+ name : Lint
45
+ runs-on : macos-14
46
+ steps :
47
+ - name : Checkout
48
+ uses : actions/checkout@v4
49
+ - name : Set up Node.js ${{ env.NODE_VERSION }}
50
+ uses : actions/setup-node@v4
51
+ with :
52
+ node-version : ${{ env.NODE_VERSION }}
53
+ - name : Install dependencies
54
+ run : npm ci
55
+ - name : Run Lint script
56
+ run : npm run lint
You can’t perform that action at this time.
0 commit comments