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, }),