From 6eeaeb2c08bfc4ca299bd03973a44a6ea711bef2 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Fri, 17 Sep 2021 12:26:05 -0700 Subject: [PATCH] feat: raise minimum version of Node to v14.17 (#248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: João Pedro Henrique BREAKING CHANGE: the minimum required version of node is now v14.17 --- .github/workflows/test.yml | 7 ++++--- package.json | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c764d4..77a42cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,8 @@ jobs: strategy: matrix: node-version: - - 10 - - 12 - - 14 + - 14.17 + - 16 os: - ubuntu-latest - macos-latest @@ -28,6 +27,8 @@ jobs: with: node-version: "${{ matrix.node-version }}" cache: npm + - name: Ensure dependencies are compatible with the version of node + run: echo 'engine-strict=true' >> .npmrc - run: npm ci - run: "npm run test:ci" test: diff --git a/package.json b/package.json index 0b567d0..b600a8c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "xo": "0.28.3" }, "engines": { - "node": ">=10.18" + "node": ">=14.17" }, "files": [ "lib", @@ -70,7 +70,7 @@ "all": true }, "peerDependencies": { - "semantic-release": ">=16.0.0 <18.0.0" + "semantic-release": ">=18.0.0-beta.1" }, "prettier": { "printWidth": 120,