Skip to content

Commit 3c91815

Browse files
committed
ci: use --legacy-peer-deps flag in npm ci to resolve peer dependency conflicts
1 parent ef77b50 commit 3c91815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
cache: "npm"
4444

4545
- name: Install dependencies
46-
run: npm ci
46+
run: npm ci --legacy-peer-deps
4747

4848
- name: Lint
4949
run: npm run lint
@@ -84,7 +84,7 @@ jobs:
8484
cache: "npm"
8585

8686
- name: Install dependencies
87-
run: npm ci
87+
run: npm ci --legacy-peer-deps
8888

8989
- name: Install webpack ${{ matrix.webpack-version }}
9090
if: matrix.webpack-version != 'latest'

0 commit comments

Comments
 (0)