diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d588995..346585c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,9 +10,8 @@ jobs: fail-fast: false matrix: node-version: + - 20 - 18 - - 16 - - 14 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -20,7 +19,3 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm test - - uses: codecov/codecov-action@v2 - if: matrix.node-version == 16 - with: - fail_ci_if_error: true diff --git a/package.json b/package.json index 3fd5094..32b4b24 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "types": "./source/index.d.ts", "sideEffects": false, "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": ">=18" }, "scripts": { "test": "xo && c8 ava && tsd",