From d9b63783b5be7dd2559f4620954ed7b5dbbba327 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 19:13:16 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#2243) BREAKING CHANGE: Drop support for NodeJS v10, v12 --- .github/workflows/test.yml | 5 ++++- package.json | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8544213fec..5cc936fc9f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node_version: ["12", "14", "16"] + node_version: + - 14 + - 16 + - 18 steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 diff --git a/package.json b/package.json index f0d0fa7b0f..040e64e8dc 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -115,5 +118,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } }