From 7851a936543aa7a0a06a45becea4f4bff145cacf Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:27:28 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#355) BREAKING CHANGE: Drop support for NodeJS v10, v12 --- .github/workflows/test.yml | 3 +-- package.json | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 51940ab99..7a2e60958 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 }} diff --git a/package.json b/package.json index f0447ef6f..9b05465d6 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -101,5 +104,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } }