chore(build): update Windows prebuild command and include workflow file in path triggers

- Changed the prebuild command for Windows to use 'turbo run build' for better performance.
- Added the build-desktop.yml file to the list of paths that trigger the workflow.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-05-16 13:55:14 +08:00
parent 143c447d2e
commit 9177e9dfc3
+2 -1
View File
@@ -7,6 +7,7 @@ on:
paths:
- "apps/desktop/**"
- "pnpm-lock.yaml"
- ".github/workflows/build-desktop.yml"
workflow_dispatch:
inputs:
tag_version:
@@ -127,7 +128,7 @@ jobs:
- name: Prebuild packages (Windows)
if: runner.os == 'windows'
run: pnpm run build:packages
run: turbo run build --filter={./packages/**/*}
- name: Update main hash
working-directory: apps/desktop