Skip to content

Commit

Permalink
feat: add support for Node.js 20
Browse files Browse the repository at this point in the history
Node.js 20 went into LTS on October 24 2023 .
Node.js 14 reached end of life in April 2023 and support is therefore
being dropped.

BREAKING CHANGE: Dropping support for Node.js 14
  • Loading branch information
scriptcoded committed Oct 24, 2023
1 parent 2b79dc1 commit eb12c85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20

- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
node-version: [14, 16, 18]
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.12
v20.8
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and there are no external dependencies 😉

## Installation

sql-highlight is tested to work with Node.js 14, 16 and 18.
sql-highlight is tested to work with Node.js 16, 18 and 20.

Install with Yarn:
```bash
Expand Down

0 comments on commit eb12c85

Please sign in to comment.