Skip to content

Commit c32b69e

Browse files
committed
.github: npm install --strict-peer-deps for CI
CI should fail if there are conflicting peerDependencies. See npm/cli#1819 (comment) Signed-off-by: Kevin Locke <[email protected]>
1 parent b8ee0f8 commit c32b69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Display Node.js version
3535
run: node --version
3636
- name: Install dependencies
37-
run: npm install
37+
run: npm install --strict-peer-deps
3838
- name: Lint
3939
run: npm run lint
4040
- name: Run tests
@@ -86,7 +86,7 @@ jobs:
8686
- name: Display Node.js version
8787
run: node --version
8888
- name: Install dependencies
89-
run: npm install
89+
run: npm install --strict-peer-deps
9090
- name: Run tests
9191
run: npm run test-unit-cov
9292
# Note: Not uploading to Codecov, due to poor support for matrix builds

0 commit comments

Comments
 (0)