From c1f999d9df88f1ccfdf8e49e87319b3de6276704 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:20:39 -0400 Subject: [PATCH 1/5] build(package): set minimal node version in engines field to v14 BREAKING CHANGE: Drop support for NodeJS v10, v12 --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f5b269c3d..ad6c5513f 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -104,5 +107,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } } From 191c23c6da491d8b9dfa2e8a71e3620b4d344a9a Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:20:41 -0400 Subject: [PATCH 2/5] ci: stop testing against NodeJS v10, v12 From 29bbe35a4da4c6bae935891b258c89d99b93a496 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:20:43 -0400 Subject: [PATCH 3/5] ci: stop testing against NodeJS v10, v12 From 8648c049c48e7032d0480fe0ab8466dce6d75a65 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:20:45 -0400 Subject: [PATCH 4/5] ci: stop testing against NodeJS v10, v12 --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43ae433bc..d170c0077 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,9 @@ jobs: strategy: matrix: node_version: - - 10 - - 12 - 14 - 16 + - 18 steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 - name: "Use Node.js ${{ matrix.node_version }}" From a150117d0c8f74a38e83b940102545619a35583a Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:20:47 -0400 Subject: [PATCH 5/5] ci: stop testing against NodeJS v10, v12