fix(ci): install admin-web deps in hub-check before build

hub build runs admin:build; fleet deploy already npm ci --prefix admin-web
but hub-check only installed hub/. Without that, vite fails on @sveltejs/kit.
This commit is contained in:
2026-07-30 11:58:02 +08:00
parent 61512454cc
commit 127a8c3418
+6 -2
View File
@@ -39,10 +39,14 @@ jobs:
with:
node-version: "24"
cache: npm
cache-dependency-path: hub/package-lock.json
cache-dependency-path: |
hub/package-lock.json
hub/admin-web/package-lock.json
- name: Install dependencies
run: npm ci
run: |
npm ci
npm ci --prefix admin-web
- name: Audit production Node dependencies
run: npm run audit:production