From 526eb2be8c141a6c11bc19606490f9b1afd68983 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 18:28:58 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#157) BREAKING CHANGE: Drop support for NodeJS v10, v12 --- .github/workflows/test.yml | 2 +- package.json | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df29eda3..f6d5217c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,9 @@ jobs: strategy: matrix: node_version: - - 12 - 14 - 16 + - 18 steps: - uses: actions/checkout@master - name: Test with Node.js ${{ matrix.node_version }} diff --git a/package.json b/package.json index ee6e10a0..b286cbfa 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -120,5 +123,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } }