Skip to content

Commit

Permalink
feat: drop support for node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Jul 1, 2023
1 parent 45fcfcb commit f720e06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
strategy:
matrix:
node:
- 14
- 16
- 18
- 20
react: [16, 17]

name: build (${{ matrix.node }} w/ React ${{ matrix.react }}
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"homepage": "https://readmeio.github.io/syntax-highlighter/",
"engines": {
"node": ">=14"
"node": ">=16"
},
"scripts": {
"build": "webpack --progress",
Expand Down

0 comments on commit f720e06

Please sign in to comment.