From 72b7ace602e7cd12d82ddc8923c8843be626537b Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Mon, 24 Apr 2023 12:45:56 +0900 Subject: [PATCH] feat!: remove Node.js 14 support (#1522) BREAKING CHANGE: Node.js 14 support is removed since it's End-of-Life. This change also adds Node.js 20 to the CI matrix. --- .github/workflows/test.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- test/__snapshots__/init.test.js.snap | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8fd5eee..65316f5d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: ["14", "16", "18"] + node-version: ["16", "18", "20"] uses: ybiquitous/.github/.github/workflows/nodejs-test-reusable.yml@main with: node-version: ${{ matrix.node-version }} diff --git a/package-lock.json b/package-lock.json index 75519fea..bda0eade 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "typescript": "^5.0.4" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=16.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index e7861029..c887e3da 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ ".husky/pre-commit" ], "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=16.0.0" }, "dependencies": { "@commitlint/cli": "^17.6.1", diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index b092ace9..87391144 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -226,7 +226,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: ["14", "16", "18"] + node-version: ["16", "18", "20"] uses: ybiquitous/.github/.github/workflows/nodejs-test-reusable.yml@main with: node-version: \${{ matrix.node-version }}