From be624209d8506f9e703485c0f568acef297249ee Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Wed, 24 Jul 2024 14:04:17 +0900 Subject: [PATCH] Revert "chore!: Update node versions to align with eslint v9" (#504) Reverts eslint-community/eslint-plugin-promise#484 --- .github/workflows/ci.yml | 14 +++++++++----- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7903ca7a..614ba4fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,23 +41,27 @@ jobs: strategy: matrix: eslint: [8] - node: [18.18.0, 20.9.0, 21.1.0, 22] + node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16, 18, 20] os: [ubuntu-latest] include: # ESLint v9 - eslint: 9 - node: 22 + node: 20 os: ubuntu-latest # On other platforms - os: windows-latest eslint: 8 - node: 22 + node: 18 - os: macos-latest eslint: 8 - node: 22 + node: 18 + # On old ESLint versions + - eslint: 7 + node: 18 + os: ubuntu-latest # On the minimum supported ESLint/Node.js version - eslint: 7.0.0 - node: 18.18.0 + node: 12.22.0 os: ubuntu-latest runs-on: ${{ matrix.os }} steps: diff --git a/package-lock.json b/package-lock.json index f63a11e5..b5099197 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "typescript": "^4.9.3" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { "url": "https://opencollective.com/eslint" diff --git a/package.json b/package.json index 0accdfb3..a9e9856d 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": "https://opencollective.com/eslint" }