Fix CI pipeline to use npm install instead of npm ci (no lockfile in repo)

This commit is contained in:
root
2026-04-28 00:04:44 +00:00
parent 675847de0c
commit b0c3daba01

View File

@@ -38,7 +38,7 @@ stages:
install-backend:
stage: install
script:
- npm ci
- npm install
artifacts:
paths:
- node_modules/
@@ -48,7 +48,7 @@ install-frontend:
stage: install
script:
- cd frontend
- npm ci
- npm install
artifacts:
paths:
- frontend/node_modules/
@@ -121,8 +121,8 @@ deploy:
- echo "Deploying on dashboard-dev..."
- cd /home/cve-dashboard
- git pull origin ${CI_COMMIT_BRANCH}
- npm ci
- cd frontend && npm ci && npm run build && cd ..
- npm install
- cd frontend && npm install && npm run build && cd ..
- ./stop-servers.sh || true
- ./start-servers.sh
- echo "Deploy complete."