diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66cc0a0..3a896e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,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 2367e26..c369ccc 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,6 @@ "access": "public" }, "engines": { - "node": ">= 14" + "node": ">= 18" } } diff --git a/scripts/build.mjs b/scripts/build.mjs index c573f63..67f82f1 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -42,7 +42,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node14", + target: "node18", format: "cjs", ...sharedOptions, }),