Skip to content

Commit 5201a14

Browse files
faiyaz26Copilot
andcommitted
ci: add frontend build step before rust tests
The Tauri build requires the frontend/dist directory to exist, but the workflow was trying to run Rust tests without building the frontend first. Add a 'Build frontend' step between the frontend tests and Rust tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9ce4449 commit 5201a14

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/main-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@ jobs:
5151
- name: Run frontend tests
5252
run: cd frontend && pnpm test
5353

54+
- name: Build frontend
55+
run: cd frontend && pnpm build
56+
5457
- name: Run Rust workspace tests
5558
run: cargo test --workspace

0 commit comments

Comments
 (0)