From 1e39fae18c2a1658246ab2e791eec8937141c963 Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Fri, 20 Dec 2024 06:28:24 -0800 Subject: [PATCH] Require Node.js 18 --- .github/workflows/main.yml | 7 +------ package.json | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) 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",