From fb91bd6c08099c059b386bda2d700b02c579ad39 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Thu, 7 Jul 2022 18:32:08 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#302) 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 ec277ecf4..eda69c5ee 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@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3 - name: "Use Node.js ${{ matrix.node_version }}" diff --git a/package.json b/package.json index 06b0877aa..efee8dc8f 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" + } ] ] }, @@ -101,5 +104,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } }