Skip to content

Commit 26edfbd

Browse files
committed
ci: fix npm ci ERESOLVE peer dependency conflicts in frontend
1 parent 53ebe63 commit 26edfbd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
cache-dependency-path: frontend/package-lock.json
8484

8585
- name: Install dependencies
86-
run: npm ci
86+
run: npm ci --legacy-peer-deps
8787

8888
- name: Check code formatting
8989
run: npx prettier --check .
@@ -110,7 +110,7 @@ jobs:
110110
cache-dependency-path: frontend/package-lock.json
111111

112112
- name: Install dependencies
113-
run: npm ci
113+
run: npm ci --legacy-peer-deps
114114

115115
- name: Run tests with coverage
116116
run: npx jest --coverage --forceExit
@@ -136,7 +136,7 @@ jobs:
136136
cache-dependency-path: frontend/package-lock.json
137137

138138
- name: Install dependencies
139-
run: npm ci
139+
run: npm ci --legacy-peer-deps
140140

141141
- name: Build for production
142142
run: npm run build

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55

66
# Copy package files first for better layer caching
77
COPY package.json package-lock.json ./
8-
RUN npm ci
8+
RUN npm ci --legacy-peer-deps
99

1010
# Copy source and build
1111
COPY . .

0 commit comments

Comments
 (0)