Fix: Use npm install instead of npm ci
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 22s
Some checks failed
Deploy to Production / Deploy to turbotrades.dev (push) Failing after 22s
This commit is contained in:
@@ -21,12 +21,12 @@ jobs:
|
||||
node-version: "24"
|
||||
|
||||
- name: Install Backend Dependencies
|
||||
run: npm ci --production
|
||||
run: npm install --production
|
||||
|
||||
- name: Install Frontend Dependencies
|
||||
run: |
|
||||
cd frontend
|
||||
npm ci
|
||||
npm install
|
||||
|
||||
- name: Build Frontend
|
||||
run: |
|
||||
@@ -84,12 +84,12 @@ jobs:
|
||||
|
||||
# Install backend dependencies
|
||||
echo "📦 Installing backend dependencies..."
|
||||
npm ci --production
|
||||
npm install --production
|
||||
|
||||
# Build frontend
|
||||
echo "🎨 Building frontend..."
|
||||
cd frontend
|
||||
npm ci
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
# Deploy frontend to nginx directory
|
||||
|
||||
Reference in New Issue
Block a user