diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3e017df..d78da817 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,9 @@ jobs: strategy: matrix: node: - - 14 - 16 - 18 + - 20 react: [16, 17] name: build (${{ matrix.node }} w/ React ${{ matrix.react }} @@ -25,11 +25,6 @@ jobs: with: node-version: ${{ matrix.node }} - # Node 14 still ships with npm@6 which doesn't install peerDeps by default. - - name: Install npm@7 - if: matrix.node == '14' - run: npm install -g npm@7 - - name: Install dependencies run: npm ci diff --git a/package-lock.json b/package-lock.json index eef1d07a..e5db93ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,7 +46,7 @@ "webpack-dev-server": "^4.15.1" }, "engines": { - "node": ">=14" + "node": ">=16" }, "peerDependencies": { "@readme/variable": "^15.1.0", diff --git a/package.json b/package.json index 2583697e..435b10fd 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "homepage": "https://readmeio.github.io/syntax-highlighter/", "engines": { - "node": ">=14" + "node": ">=16" }, "scripts": { "build": "webpack --progress",