From b553f758f99b880dd11fe2ee36e21aa19d011d4d Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:35:35 -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 e43c07c2..7a350580 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -92,5 +95,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } } From e2ab3ba7eaf760659646cc432590db021ac69923 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:35:37 -0400 Subject: [PATCH 2/5] ci: stop testing against NodeJS v10, v12 From de050ebc2891bc099a8bb0b68ff792455207ce03 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:35:39 -0400 Subject: [PATCH 3/5] ci: stop testing against NodeJS v10, v12 From 60808fc44d0079ec983feb3a056f6f07f92176d0 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:35:41 -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 92faa2eb..dc4480b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,9 @@ jobs: strategy: matrix: node_version: - - 10 - - 12 - 14 - 16 + - 18 steps: - uses: actions/checkout@v3 - name: "Use Node.js ${{ matrix.node_version }}" From 22f4cfbaad65aab16523b1e8166a288760fd76b4 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:35:43 -0400 Subject: [PATCH 5/5] ci: stop testing against NodeJS v10, v12