From 44cfc568280fa1aed57952868956df8ea3d30c30 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Tue, 10 May 2022 22:35:59 +0900 Subject: [PATCH] feat(actions): drop Node.js v12 support (#1253) BREAKING CHANGE: Node.js v12 is End-of-Life. The support is dropped. --- .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 4f88e0f8..b955be86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ["12", "14", "16", "18"] + node-version: ["14", "16", "18"] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/package-lock.json b/package-lock.json index 65743d52..817e825a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "typescript": "^4.6.4" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index b0ebc1e3..9ca14e63 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ ".husky/pre-commit" ], "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" }, "dependencies": { "@commitlint/cli": "^16.2.4", diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index d141cbf8..a01de079 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -240,7 +240,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [\\"12\\", \\"14\\", \\"16\\", \\"18\\"] + node-version: [\\"14\\", \\"16\\", \\"18\\"] steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3