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
|
- name: Build and push the UI server image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./ui
|
context: .
|
||||||
|
file: ui/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
build-args: |
|
build-args: |
|
||||||
PUBLIC_API_URL=https://opt-api.osdci.net
|
PUBLIC_API_URL=https://opt-api.osdci.net
|
||||||
@@ -220,6 +221,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Rebuild native modules
|
- name: Rebuild native modules
|
||||||
run: npm rebuild
|
run: npm rebuild
|
||||||
|
env:
|
||||||
|
HUSKY: "0"
|
||||||
|
|
||||||
- name: Build macOS distributables
|
- name: Build macOS distributables
|
||||||
run: bun run make:macos
|
run: bun run make:macos
|
||||||
@@ -251,11 +254,19 @@ 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: npm install
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Rebuild native modules
|
||||||
|
run: npm rebuild
|
||||||
|
env:
|
||||||
|
HUSKY: "0"
|
||||||
|
|
||||||
- name: Build Windows distributables
|
- name: Build Windows distributables
|
||||||
run: npm run make -- --platform win32
|
run: bun 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