From 025a0a5a041023ae12b9b903cc1f5a306bd666d6 Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Tue, 27 Jun 2023 11:51:23 -0400 Subject: [PATCH] feat!: drop support for Node 12, 14, 17, 19 BREAKING CHANGE These are end-of-life: https://github.com/nodejs/release#release-schedule --- .github/workflows/ci.yml | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68e5c5c6..f9b21be5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: os: [ ubuntu, windows ] - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 @@ -42,6 +42,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: "20.x" - run: npm ci - run: npm run lint diff --git a/package-lock.json b/package-lock.json index 0f20ca9e..99d582d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "typescript": "^5.0.4" }, "engines": { - "node": "12.x || 14.x || >=16.0.0" + "node": "^16.0.0 || ^18.0.0 || >=20.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index d414dd62..370d4368 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ }, "homepage": "https://github.com/platinumazure/eslint-plugin-qunit", "engines": { - "node": "12.x || 14.x || >=16.0.0" + "node": "^16.0.0 || ^18.0.0 || >=20.0.0" }, "release-it": { "github": {