Skip to content

Commit

Permalink
.github: npm install --strict-peer-deps for CI
Browse files Browse the repository at this point in the history
CI should fail if there are conflicting peerDependencies.
See npm/cli#1819 (comment)

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Feb 10, 2021
1 parent b8ee0f8 commit c32b69e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Display Node.js version
run: node --version
- name: Install dependencies
run: npm install
run: npm install --strict-peer-deps
- name: Lint
run: npm run lint
- name: Run tests
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Display Node.js version
run: node --version
- name: Install dependencies
run: npm install
run: npm install --strict-peer-deps
- name: Run tests
run: npm run test-unit-cov
# Note: Not uploading to Codecov, due to poor support for matrix builds
Expand Down

0 comments on commit c32b69e

Please sign in to comment.