diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fc6dcdc..978829e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,11 +12,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node_version: - - 14 - - 16 + node: - 18 - name: Node ${{ matrix.node_version }} + - 20 + name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/package.json b/package.json index 38a4c3d1..b4629efb 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "typescript": "^5.0.0" }, "engines": { - "node": ">= 14" + "node": ">= 18" }, "publishConfig": { "access": "public" diff --git a/scripts/build.mjs b/scripts/build.mjs index 05e2e173..7d643664 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, }),