From fc32afa7765806617fc7fbf57e2e236d70c721cd Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Thu, 4 Feb 2021 11:26:18 -0600 Subject: [PATCH] build(engine-strict): strictly enforced node version compatibility for dependencies (#1763) --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 52d4e02a..762718a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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