diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c764d43..77a42cfb 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 0b567d0c..b600a8c0 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,