Skip to content

Commit 9aad149

Browse files
authored
Drop support of NodeJS 14 and 16. Min version 18.17 (#47)
1 parent c045883 commit 9aad149

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
node-version:
19-
- 14
20-
- 16
2119
- 18
2220
- 20
2321
- current
2422
os:
2523
- ubuntu-latest
2624
- windows-latest
2725
include:
28-
- node-version: 18
26+
- node-version: 20
2927
os: macos-latest
3028

3129
steps:
@@ -37,14 +35,14 @@ jobs:
3735
- run: npm i
3836
- run: npm test
3937
- run: npm run eslint
40-
if: ${{ matrix.node-version == '18' && matrix.os == 'ubuntu-latest' }}
38+
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
4139
- name: Coveralls
42-
if: ${{ matrix.node-version == '18' && matrix.os == 'ubuntu-latest' }}
43-
uses: coverallsapp/github-action@master
40+
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
41+
uses: coverallsapp/github-action@v2
4442
with:
4543
github-token: ${{ secrets.GITHUB_TOKEN }}
4644
- name: Publish codeclimate code coverage
47-
if: ${{ matrix.node-version == '18' && matrix.os == 'ubuntu-latest' }}
45+
if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }}
4846
uses: paambaati/[email protected]
4947
env:
5048
CC_TEST_REPORTER_ID: 0653d2f9752a6c6febd3bb7cabfec48439868a02350b1c46da7d60837a42ad93

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Plugin for [website-scraper](https://github.com/website-scraper/node-website-scr
1010
Please keep in mind that saving to existing directory may overwrite your files. Be careful with it!
1111

1212
## Requirements
13-
* nodejs version >= 14.14
13+
* nodejs version >= 18.17
1414
* website-scraper version >= 5
1515

1616
## Installation

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@
4141
"index.js"
4242
],
4343
"engines": {
44-
"node": ">=14.14"
44+
"node": ">=18.17"
4545
}
4646
}

0 commit comments

Comments
 (0)