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

This commit is contained in:
Matt Travi
2021-02-04 09:26:18 -08:00
committed by GitHub
parent 8ea81ae6c9
commit fc32afa776
+3 -1
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