Skip to content

Commit

Permalink
fix(ci): disable husky in CI and fix dependency installation
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedFatthy1040 committed Dec 3, 2024
1 parent d3833b1 commit 6c386f5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

env:
HUSKY: 0

jobs:
build-backend:
name: Build & Test Backend
Expand All @@ -26,6 +29,12 @@ jobs:
cache: 'npm'
cache-dependency-path: './api/package-lock.json'

# Install root dependencies first
- name: Install root dependencies
run: npm ci
env:
HUSKY: 0

# Step 3: Install backend dependencies
- name: Install backend dependencies
run: npm ci
Expand Down Expand Up @@ -60,6 +69,12 @@ jobs:
cache: 'npm'
cache-dependency-path: './app/package-lock.json'

# Install root dependencies first
- name: Install root dependencies
run: npm ci
env:
HUSKY: 0

# Step 3: Install frontend dependencies
- name: Install frontend dependencies
run: npm ci
Expand Down

0 comments on commit 6c386f5

Please sign in to comment.