File tree Expand file tree Collapse file tree 9 files changed +3777
-4661
lines changed Expand file tree Collapse file tree 9 files changed +3777
-4661
lines changed Original file line number Diff line number Diff line change 66 paths :
77 - " npm-packages/cli/**"
88 - " .github/workflows/build-cli.yml"
9+
10+ permissions :
11+ contents : read
912
1013jobs :
1114 build :
Original file line number Diff line number Diff line change 77 - " desktop/**"
88 - " web/**"
99 - " .github/workflows/build-desktop.yml"
10+
11+ permissions :
12+ contents : read
13+
1014jobs :
1115 build :
1216 strategy :
2327 with :
2428 node-version : 20
2529
30+ - name : Install shared-utils dependencies
31+ run : npm install --workspace=npm-packages/shared-utils
32+
33+ - name : Build shared-utils
34+ run : npm run shared-utils-build
35+
36+ - name : Install capacitor-plugin dependencies
37+ run : npm install --workspace=capacitor-plugin
38+
39+ - name : Build capacitor-plugin
40+ run : npm run build --workspace=capacitor-plugin
41+
2642 - name : Install web dependencies
2743 run : npm install --workspace=web
2844
Original file line number Diff line number Diff line change 1111 - " android/**"
1212 - " .github/workflows/build-mobile.yml"
1313
14+ permissions :
15+ contents : read
16+
1417jobs :
1518 build :
1619 strategy :
@@ -39,13 +42,25 @@ jobs:
3942 - name : Get Keystore
4043 run : |
4144 mkdir .keystore
42- echo ${{ secrets.ANDROID_KEYSTORE }} | base64 --decode > android/ .keystore/keystore.jks
45+ echo ${{ secrets.ANDROID_KEYSTORE }} | base64 --decode > .keystore/keystore.jks
4346
4447 - name : Setup Node.js
4548 uses : actions/setup-node@v4
4649 with :
4750 node-version : 20
4851
52+ - name : Install shared-utils dependencies
53+ run : npm install --workspace=npm-packages/shared-utils
54+
55+ - name : Build shared-utils
56+ run : npm run shared-utils-build
57+
58+ - name : Install capacitor-plugin dependencies
59+ run : npm install --workspace=capacitor-plugin
60+
61+ - name : Build capacitor-plugin
62+ run : npm run build --workspace=capacitor-plugin
63+
4964 - name : Install web dependencies
5065 run : npm install --workspace=web
5166
5671 run : npm run build
5772
5873 - name : Change Android Project Permission
59- run : chmod +x android/gradlew
74+ run : chmod +x mobile/ android/gradlew
6075
6176 - name : Sync Capacitor App
6277 run : npx cap sync
Original file line number Diff line number Diff line change 22
33name : Build NPM Packages
44
5- permissions :
6- contents : write
7-
85on :
96 pull_request :
107 branches : ["main"]
1310 - " npm-packages/react-api/**"
1411 - " .github/workflows/build-desktop.yml"
1512
13+ permissions :
14+ contents : read
15+
1616jobs :
1717 build :
1818 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 77 - " web/**"
88 - " .github/workflows/build-web.yml"
99
10+ permissions :
11+ contents : write
12+
1013jobs :
1114 build :
1215 runs-on : ubuntu-latest
1316 steps :
1417 - name : Checkout
1518 uses : actions/checkout@v4
1619
17- # echo node version to the log
18- - name : Echo Node.js version
19- run : node --version
20-
2120 - name : Setup Node.js
2221 uses : actions/setup-node@v4
2322 with :
2423 node-version : 20
24+
25+ - name : Install shared-utils dependencies
26+ run : npm install --workspace=npm-packages/shared-utils
27+
28+ - name : Build shared-utils
29+ run : npm run shared-utils-build
2530
26- # echo node version to the log
27- - name : Echo npm version
28- run : npm --version
31+ - name : Install capacitor-plugin dependencies
32+ run : npm install --workspace=capacitor-plugin
2933
34+ - name : Build capacitor-plugin
35+ run : npm run build --workspace=capacitor-plugin
36+
3037 - name : Install web dependencies
3138 run : npm install --workspace=web
3239
Original file line number Diff line number Diff line change 6060 "rimraf" : " ^6.0.1" ,
6161 "rollup" : " ^4.30.1" ,
6262 "swiftlint" : " ^2.0.0" ,
63- "typescript" : " ~4.1.5 "
63+ "typescript" : " ^5.8.3 "
6464 },
6565 "peerDependencies" : {
6666 "@capacitor/core" : " >=7.0.0"
7878 "src" : " android"
7979 }
8080 }
81- }
81+ }
You can’t perform that action at this time.
0 commit comments