diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 49655fa..0eab040 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - node: [16, 18] + node: [18, 20, 22] fail-fast: false steps: diff --git a/tsup.config.ts b/tsup.config.ts index df33511..8ade12d 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -3,7 +3,7 @@ import { defineConfig } from 'tsup' export default defineConfig({ entry: ['./src/*.ts'], format: ['cjs', 'esm'], - target: 'node16.14', + target: 'node18', splitting: true, cjsInterop: true, clean: true,