From 19f33723d4edc56400f53259814156e6128c731c Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sat, 6 Nov 2021 09:09:39 +0900 Subject: [PATCH] Drop support for node v10, v11, v13, and v15 --- .github/workflows/NodeCI.yml | 4 ++-- package.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/NodeCI.yml b/.github/workflows/NodeCI.yml index 91014260..72391398 100644 --- a/.github/workflows/NodeCI.yml +++ b/.github/workflows/NodeCI.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [12.x, 14.x, 16.x, 17.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [13.x, 14.x] + node-version: [14.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/package.json b/package.json index cb6a1447..46b2ce86 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "files": [ "lib" ], + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, "scripts": { "prebuild": "npm run -s clean", "build": "tsc --project ./tsconfig.build.json",