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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version:
|
node-version:
|
||||||
- 10
|
- 10.18.0
|
||||||
- 12
|
- 12
|
||||||
- 14
|
- 14
|
||||||
|
|
||||||
@ -31,6 +31,8 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
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
|
- uses: bahmutov/npm-install@v1
|
||||||
- run: npm run test:ci
|
- run: npm run test:ci
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user