fix: use npm instead of bun for Windows desktop build
Bun on Windows fails to install native modules like @electron/node-gyp
This commit is contained in:
@@ -85,17 +85,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
- name: Install bun
|
|
||||||
uses: oven-sh/setup-bun@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: npm install
|
||||||
|
|
||||||
- name: Rebuild native modules
|
|
||||||
run: npm rebuild
|
|
||||||
|
|
||||||
- name: Build Windows distributables
|
- name: Build Windows distributables
|
||||||
run: bun run make -- --platform win32
|
run: npm run make -- --platform win32
|
||||||
env:
|
env:
|
||||||
PUBLIC_API_URL: https://opt-api.osdci.net
|
PUBLIC_API_URL: https://opt-api.osdci.net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user