Skip to content

Commit c5ac2b1

Browse files
fix: common assets compile with electon compile (#999)
* fix: common assets compile with electon compile * fix: set android build action to not automatically send changes for review
1 parent 0c03611 commit c5ac2b1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs: # a collection of steps
1818
- run:
1919
name: install-npm
2020
command: npm install
21-
- run:
22-
name: build-common
23-
command: npx tsc -p common/tsconfig.json
2421
- run:
2522
name: compile-electron
2623
command: cd electron && npm run compile

.github/workflows/build-android.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ jobs:
132132
status: inProgress
133133
inAppUpdatePriority: 0
134134
userFraction: 0.2
135+
changesNotSentForReview: true
135136
# whatsNewDirectory: distribution/whatsnew
136137
# mappingFile: app/build/outputs/mapping/release/mapping.txt
137-
# debugSymbols: app/build/intermediates/merged_native_libs/release/out/lib/
138+
# debugSymbols: app/build/intermediates/merged_native_libs/release/out/lib/

electron/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"build-frontend": "cd ../ && npm run build-frontend",
1717
"build-electron": "cross-env NODE_ARCH=$npm_config_arch electron-builder",
1818
"clean": "rimraf build/* dist/*",
19-
"compile": "run-s typecheck sync-assets",
19+
"compile": "run-s typecheck-common typecheck sync-assets",
20+
"typecheck-common": "tsc -p ../common/tsconfig.json",
2021
"typecheck": "tsc -p tsconfig.json",
2122
"sync-assets": "node ./scripts/sync-backend-assets.js",
2223
"copy-env": "cd .. && npm run copy-env",

0 commit comments

Comments
 (0)