Fix: Use npm install instead of npm ci
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 22s

This commit is contained in:
2026-01-11 00:40:12 +00:00
parent 3cc143f696
commit 3f763781f8

View File

@@ -21,12 +21,12 @@ jobs:
node-version: "24" node-version: "24"
- name: Install Backend Dependencies - name: Install Backend Dependencies
run: npm ci --production run: npm install --production
- name: Install Frontend Dependencies - name: Install Frontend Dependencies
run: | run: |
cd frontend cd frontend
npm ci npm install
- name: Build Frontend - name: Build Frontend
run: | run: |
@@ -84,12 +84,12 @@ jobs:
# Install backend dependencies # Install backend dependencies
echo "📦 Installing backend dependencies..." echo "📦 Installing backend dependencies..."
npm ci --production npm install --production
# Build frontend # Build frontend
echo "🎨 Building frontend..." echo "🎨 Building frontend..."
cd frontend cd frontend
npm ci npm install
npm run build npm run build
# Deploy frontend to nginx directory # Deploy frontend to nginx directory