From 8761414a15e501f531047950262cb6e7ef86189a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Wed, 9 Jun 2021 10:39:59 +0800 Subject: [PATCH 1/2] Breaking: drop node v10/13/v15 (fixes #501) --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40136c7c..421de34e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16.x, 15.x, 14.x, 13.x, 12.x] + node: [16.x, 14.x, 12.x, "12.22.0"] include: - os: windows-latest node: "12.x" diff --git a/package.json b/package.json index d0dc31aa..4718103a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "espree.js" ], "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "repository": "eslint/espree", "bugs": { From 204c66fcd8a07db19485e920190e653e061f5313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E5=AE=9A=E8=B0=94=E7=9A=84=E7=8C=AB?= Date: Wed, 9 Jun 2021 15:35:40 +0800 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 421de34e..ab1fd3eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,21 +45,3 @@ jobs: run: npm run build - name: Run tests run: npm run unit - testNode10: - name: Test Node 10.x - strategy: - matrix: - os: [ubuntu-latest] - node: [10.x, "10.12.0"] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - - name: Install dependencies - run: npm install - - name: Build commonjs - run: npm run build - - name: Run tests - run: npm run unit:cjs