From b0c3daba0161e782e39f537b68a42aca24a3610f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Apr 2026 00:04:44 +0000 Subject: [PATCH] Fix CI pipeline to use npm install instead of npm ci (no lockfile in repo) --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9303ac4..e88d66c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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."