fix(ci): fix UI server build context, macOS/Windows desktop build steps
This commit is contained in:
@@ -186,7 +186,8 @@ jobs:
|
||||
- name: Build and push the UI server image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./ui
|
||||
context: .
|
||||
file: ui/Dockerfile
|
||||
push: true
|
||||
build-args: |
|
||||
PUBLIC_API_URL=https://opt-api.osdci.net
|
||||
@@ -220,6 +221,8 @@ jobs:
|
||||
|
||||
- name: Rebuild native modules
|
||||
run: npm rebuild
|
||||
env:
|
||||
HUSKY: "0"
|
||||
|
||||
- name: Build macOS distributables
|
||||
run: bun run make:macos
|
||||
@@ -251,11 +254,19 @@ jobs:
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Install Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Rebuild native modules
|
||||
run: npm rebuild
|
||||
env:
|
||||
HUSKY: "0"
|
||||
|
||||
- name: Build Windows distributables
|
||||
run: npm run make -- --platform win32
|
||||
run: bun run make -- --platform win32
|
||||
env:
|
||||
PUBLIC_API_URL: https://opt-api.osdci.net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user