Skip to content

Commit

Permalink
breaking: drop Node 12 and 14, add Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Feb 9, 2024
1 parent d7cde04 commit 19b4e4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,27 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [12, 14, 16, 18]
node: [16, 18, 20]
eslint: [latest]
include:
# ESLint 4.7 support: lowest version supported
- os: ubuntu-latest
node: 18
node: 20
eslint: "4.7"

# ESLint 5 support: lowest version we can use to test external html plugins support
- os: ubuntu-latest
node: 18
node: 20
eslint: "5.0"

# Upcoming ESLint major version support
- os: ubuntu-latest
node: 18
node: 20
eslint: next

# Windows support
- os: windows-latest
node: 18
node: 20
eslint: latest
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"html"
],
"main": "src/index.js",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"htmlparser2": "^9.1.0"
},
Expand Down

0 comments on commit 19b4e4a

Please sign in to comment.