From a494b4be5945da9500fe9f624fbdb354ac875f01 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Thu, 1 Jun 2023 10:17:49 -0700 Subject: [PATCH] feat: dropping support for node 14 --- .github/workflows/ci.yml | 8 ++------ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a14b61d..47bbeb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,10 @@ jobs: strategy: matrix: node-version: - - 14 - 16 - 18 + - 19 + - 20 steps: - uses: actions/checkout@v3.5.2 @@ -21,10 +22,5 @@ jobs: with: node-version: ${{ matrix.node-version }} - # Node 14 ships with npm@6 which doesn't install peerDeps by default. - - name: Install npm@7 - if: matrix.node-version == '14' - run: npm install -g npm@7 - - run: npm ci - run: npm test diff --git a/package-lock.json b/package-lock.json index 1a57e38..b40a298 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "typescript": "^5.0.4" }, "engines": { - "node": ">=14" + "node": ">=16" }, "peerDependencies": { "jest": "^29.0.2" diff --git a/package.json b/package.json index f484e4c..ccd3b7c 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "author": "Jon Ursenbach ", "license": "MIT", "engines": { - "node": ">=14" + "node": ">=16" }, "dependencies": { "@types/har-format": "^1.2.8",