build(engine-strict): strictly enforced node version compatibility for dependencies (#1763)

This commit is contained in:
Matt Travi 2021-02-04 11:26:18 -06:00 committed by GitHub
parent 8ea81ae6c9
commit fc32afa776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
node-version:
- 10
- 10.18.0
- 12
- 14
@ -31,6 +31,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Ensure dependencies are compatible with the version of node
run: echo 'engine-strict=true' >> .npmrc
- uses: bahmutov/npm-install@v1
- run: npm run test:ci