diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a44db418..7d4e2482 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 54b19b14..064390c4 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,6 @@ ] }, "engines": { - "node": ">= 14" + "node": ">= 18" } } diff --git a/scripts/build.mjs b/scripts/build.mjs index 4f4a291b..06e3c3cb 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -31,7 +31,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node14", + target: "node18", format: "cjs", ...sharedOptions, }),