From 37e1190cb68d20f96dfe56f74cf7776515dc4598 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Fri, 14 May 2021 20:01:12 +0900 Subject: [PATCH] Drop Node 10 support for ESM (#5303) This change is a part of the next major version (v14). - Remove Node 10 from CI - Update `engines.node` In addition, this removes needless `CI: true` (just a refactoring). See --- .github/workflows/linting.yml | 3 --- .github/workflows/testing.yml | 5 +---- package.json | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index ffdac5fc42..1f6d397aee 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -9,9 +9,6 @@ on: branches: - '**' -env: - CI: true - jobs: lint: name: Lint on Node.js ${{ matrix.node }} and ${{ matrix.os }} diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3a86a3a00d..6c4423d981 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,9 +9,6 @@ on: branches: - '**' -env: - CI: true - jobs: test: name: Test on Node.js ${{ matrix.node }} and ${{ matrix.os }} @@ -21,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - node: [10, 12, 14, 16] + node: [12, 14, 16] os: [ubuntu-latest, windows-latest, macos-latest] exclude: - os: ubuntu-latest diff --git a/package.json b/package.json index 25ef0601ca..ad1b3737a1 100644 --- a/package.json +++ b/package.json @@ -191,6 +191,6 @@ "typescript": "^4.2.4" }, "engines": { - "node": ">=10.13.0" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }