diff --git a/.github/workflows/build-and-release-desktop.yml b/.github/workflows/build-and-release-desktop.yml index c6bc3c04..e2716929 100644 --- a/.github/workflows/build-and-release-desktop.yml +++ b/.github/workflows/build-and-release-desktop.yml @@ -52,6 +52,14 @@ jobs: restore-keys: | ${{ 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" run: yarn install --froze-lockfile working-directory: "desktop" diff --git a/desktop/package.json b/desktop/package.json index d29f240c..e4372914 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -8,7 +8,7 @@ "scripts": { "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'", - "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", "release": "yarn bundle", "typecheck": "tsc --noEmit",