From a141d5fa82430c1cece3f7cf062b07a70f1fadc6 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Fri, 8 Jul 2022 13:39:28 -0400 Subject: [PATCH] ci: stop testing against NodeJS v10, v12 (#507) 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 edbfa0f92..43fa3cee7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,10 +14,9 @@ jobs: strategy: matrix: node_version: - - 10 - - 12 - 14 - 16 + - 18 steps: - uses: actions/checkout@master - name: "Use Node.js ${{ matrix.node_version }}" diff --git a/package.json b/package.json index 78255c996..60dfb778c 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,10 @@ "@pika/plugin-ts-standard-pkg" ], [ - "@pika/plugin-build-node" + "@pika/plugin-build-node", + { + "minNodeVersion": "14" + } ], [ "@pika/plugin-build-web" @@ -113,5 +116,8 @@ "ignoreDeps": [ "sort-keys" ] + }, + "engines": { + "node": ">= 14" } }