This commit is contained in:
Anton Bracke 2022-02-20 20:44:55 +01:00
parent d526db5bf3
commit 05d7f64d1d
No known key found for this signature in database
GPG Key ID: B1222603899C6B25
2 changed files with 9 additions and 1 deletions

View File

@ -52,6 +52,14 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.OS }}-yarn- ${{ runner.OS }}-yarn-
- name: "local-app: Install dependencies"
run: yarn install --froze-lockfile
working-directory: "desktop/local-app"
- name: "local-app: Build"
run: yarn build
working-directory: "desktop/local-app"
- name: "Install dependencies" - name: "Install dependencies"
run: yarn install --froze-lockfile run: yarn install --froze-lockfile
working-directory: "desktop" working-directory: "desktop"

View File

@ -8,7 +8,7 @@
"scripts": { "scripts": {
"build": "tsup-node ./src/main.ts ./src/preload-local-app/preload.ts ./src/preload-app/preload.ts", "build": "tsup-node ./src/main.ts ./src/preload-local-app/preload.ts ./src/preload-app/preload.ts",
"dev": "yarn build --watch --onSuccess 'yarn electron dist/main.js'", "dev": "yarn build --watch --onSuccess 'yarn electron dist/main.js'",
"build:local-app": "cd local-app && yarn build", "build:local-app": "cd local-app && yarn && yarn build",
"bundle": "yarn build:local-app && yarn build && electron-builder install-app-deps && electron-builder", "bundle": "yarn build:local-app && yarn build && electron-builder install-app-deps && electron-builder",
"release": "yarn bundle", "release": "yarn bundle",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",