forked from bai/curriculum-project-hub
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:
@@ -39,10 +39,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "24"
|
node-version: "24"
|
||||||
cache: npm
|
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
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm ci --prefix admin-web
|
||||||
|
|
||||||
- name: Audit production Node dependencies
|
- name: Audit production Node dependencies
|
||||||
run: npm run audit:production
|
run: npm run audit:production
|
||||||
|
|||||||
Reference in New Issue
Block a user