From 4722fc14e7ade423cb3e4c742e86293692e30f98 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Mon, 22 May 2023 15:58:07 -0400 Subject: [PATCH] ci: stop testing against NodeJS v14, v16 (#469) BREAKING CHANGE: Drop support for NodeJS v14, v16 --- .github/workflows/test.yml | 3 +-- package.json | 2 +- scripts/build.mjs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1379bc1..6423f2a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,8 @@ jobs: strategy: matrix: node_version: - - 14 - - 16 - 18 + - 20 steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node_version }} diff --git a/package.json b/package.json index dd90794e..a2bf4b9a 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,6 @@ ] }, "engines": { - "node": ">= 14" + "node": ">= 18" } } diff --git a/scripts/build.mjs b/scripts/build.mjs index 5064f948..7c4257c2 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -46,7 +46,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node14", + target: "node18", format: "cjs", ...sharedOptions, }),