From 0a86afe38fdffc884b29c3e466d1f29d5cebee45 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Fri, 8 Jul 2022 13:35:28 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#236) 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 28e4275..325d244 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 d937009..48ed56c 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" @@ -82,5 +85,8 @@ "extends": [ "github>octokit/.github" ] + }, + "engines": { + "node": ">= 14" } }