build(engine-strict): strictly enforced node version compatibility for dependencies (#1763)
This commit is contained in:
parent
8ea81ae6c9
commit
fc32afa776
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user