Skip to content

Commit afb1189

Browse files
Add legacy-peer-deps flag for CI due to npm 7 changes (#3039)
* add --legacy-peer-deps for ci due to npm 7 changes * update npm version * Update cache * update circle ci * Remove custom npm * update * Remove npm version
1 parent 75cb7a7 commit afb1189

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.circleci/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ commands:
1818
description: Set up project
1919
steps:
2020
- checkout
21-
- node/install-npm
22-
- node/install-packages
23-
24-
- run:
25-
name: Install all packages
26-
command: 'npm install'
21+
- node/install-packages:
22+
cache-path: ~/project/node_modules
23+
override-ci-command: npm install --legacy-peer-deps
2724

2825
jobs:
2926
lint:

0 commit comments

Comments
 (0)