Skip to content

Commit

Permalink
build: only check --engine-strict for production deps (#810)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
  • Loading branch information
bcoe and JustinBeckwith authored Oct 16, 2020
1 parent 7c53709 commit 5451633
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
with:
node-version: ${{ '{{' }} matrix.node {{ '}}' }}
- run: node --version
- run: npm install --engine-strict
# The first installation step ensures that all of our production
# dependencies work on the given Node.js version, this helps us find
# dependencies that don't match our engines field:
- run: npm install --production --engine-strict
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 5451633

Please sign in to comment.