Skip to content

Commit

Permalink
install correctly on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
birdup000 committed Dec 17, 2024
1 parent 3668adf commit b727c6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version: '20'

- name: Install Node.js dependencies
run: npm ci
run: npm install --legacy-peer-deps

- name: Run frontend tests
run: npm test
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

# Install dependencies first to leverage Docker cache
COPY package*.json ./
RUN npm install
RUN npm install --legacy-peer-deps

# Copy application code
COPY . .
Expand Down

0 comments on commit b727c6a

Please sign in to comment.