Skip to content

Commit

Permalink
fix(ci): skip npm scripts during dependency installation
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedFatthy1040 committed Dec 3, 2024
1 parent 6c386f5 commit 5fd61df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:

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

# Step 3: Install backend dependencies
- name: Install backend dependencies
run: npm ci
run: npm ci --ignore-scripts
working-directory: ./api

# Step 4: Build the backend if necessary (you can remove this if not needed)
Expand Down Expand Up @@ -71,13 +71,13 @@ jobs:

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

# Step 3: Install frontend dependencies
- name: Install frontend dependencies
run: npm ci
run: npm ci --ignore-scripts
working-directory: ./app

# Step 4: Run frontend tests
Expand Down

0 comments on commit 5fd61df

Please sign in to comment.