Skip to content

fix(desktop-ci): build UI in the workflow (tauri-action cwd fix) - #79

Merged
danielgorgonha merged 1 commit into
mainfrom
fix/desktop-ci-frontend-build
Aug 3, 2026
Merged

fix(desktop-ci): build UI in the workflow (tauri-action cwd fix)#79
danielgorgonha merged 1 commit into
mainfrom
fix/desktop-ci-frontend-build

Conversation

@danielgorgonha

Copy link
Copy Markdown
Member

The v0.2.0 desktop-release run failed: tauri-action runs beforeBuildCommand from ui/, so npm --prefix ui became ui/ui. Decouple it — empty beforeBuildCommand, build ui/dist in a workflow step from the repo root. Local tauri dev unchanged; local tauri build now expects the UI built first.

tauri-action runs beforeBuildCommand from a different cwd than a local tauri build (it ran it from
ui/, so 'npm --prefix ui' became ui/ui and failed). No single relative --prefix works for both, so
decouple: beforeBuildCommand is empty and the workflow builds ui/dist explicitly from the repo root
before tauri-action bundles it. Local 'tauri build' now expects the UI built first (npm --prefix ui
run build); 'tauri dev' is unchanged.
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
konclave-demo Ready Ready Preview Aug 3, 2026 12:34am

Request Review

@danielgorgonha
danielgorgonha merged commit 38a796d into main Aug 3, 2026
7 checks passed
@danielgorgonha
danielgorgonha deleted the fix/desktop-ci-frontend-build branch August 3, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant