Skip to content

Commit 3890d64

Browse files
committed
fix: run tsc+vite before electron-builder on Windows
1 parent 4d44acc commit 3890d64

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ jobs:
2626
- name: Install dependencies
2727
run: npm ci
2828

29-
- name: Build Electron app (unpacked)
29+
- name: Compile TypeScript + Vite
30+
run: npx tsc && npx vite build
31+
env:
32+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Package Electron app (unpacked)
3035
run: npx electron-builder --win dir
3136
env:
3237
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)