Skip to content

Commit f5b83b3

Browse files
committed
fix: Add @tauri-apps/cli dependency for GitHub Actions build
- Add @tauri-apps/cli to devDependencies - Update npm scripts to use tauri directly instead of cargo tauri - This fixes the 'cargo tauri' command not found error in CI
1 parent 636127a commit f5b83b3

File tree

3 files changed

+209
-4
lines changed

3 files changed

+209
-4
lines changed

.github/workflows/build-local-agent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
sudo apt-get update
102102
sudo apt-get install -y libxdo-dev libxcb1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xkb-dev libwayland-dev libpipewire-0.3-dev
103103
104-
# Install npm dependencies for GUI
104+
# Install npm dependencies for GUI (includes Tauri CLI)
105105
- name: Install npm dependencies
106106
working-directory: lambda/tools/local-agent
107107
run: npm ci

lambda/tools/local-agent/package-lock.json

Lines changed: 204 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lambda/tools/local-agent/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"dev": "vite",
88
"build": "tsc && vite build",
99
"preview": "vite preview",
10-
"tauri": "cargo tauri",
11-
"tauri:dev": "cargo tauri dev",
12-
"tauri:build": "cargo tauri build"
10+
"tauri": "tauri",
11+
"tauri:dev": "tauri dev",
12+
"tauri:build": "tauri build"
1313
},
1414
"keywords": [],
1515
"author": "",
1616
"license": "ISC",
1717
"devDependencies": {
18+
"@tauri-apps/cli": "^1.6.0",
1819
"@types/node": "^24.3.1",
1920
"@types/react": "^19.1.12",
2021
"@types/react-dom": "^19.1.9",

0 commit comments

Comments
 (0)