fix: refresh root deps during deploy

Add a root bun install after git pull so file: dependencies are refreshed before build and runtime verification.
This commit is contained in:
Eyejoker
2026-05-29 23:52:32 +09:00
committed by GitHub
parent d0ca76f776
commit 5fa5b2f684
2 changed files with 28 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
"build:all": "bun run build && bun run dashboard:build && bun run build:runners",
"build:runtime": "bun run build:all",
"verify:dist": "bash scripts/check-dist-fresh.sh",
"deploy": "git pull --ff-only && bun run build:all && bun run verify:dist && bun setup/index.ts --step migrate-room-registrations && systemctl --user restart ejclaw",
"deploy": "git pull --ff-only && bun install --frozen-lockfile && bun run build:all && bun run verify:dist && bun setup/index.ts --step migrate-room-registrations && systemctl --user restart ejclaw",
"start": "bun dist/index.js",
"dev": "bun --watch src/index.ts",
"test": "vitest run",