Skip to content

Commit 364eb16

Browse files
authored
Drop support for end-of-life node versions (#1049)
1 parent 0b5987a commit 364eb16

File tree

6 files changed

+314
-2388
lines changed

6 files changed

+314
-2388
lines changed

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
submodules: recursive
1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: 18
19+
node-version: 20
2020
registry-url: https://registry.npmjs.org/
2121
cache: "npm"
2222
- run: npm ci

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
node: [10, 12, 14, 16, 18, 20]
13+
node: [16, 18, 20, 21]
1414
os: [ubuntu-22.04]
1515
include:
1616
# single mac test due to minute multipliers
@@ -39,5 +39,5 @@ jobs:
3939
run: npm ci
4040
# skipping on windows for now due to Make / mocha exit code issues
4141
- name: Test
42-
if: runner.os != 'Windows' && matrix.node != 10
42+
if: runner.os != 'Windows'
4343
run: npm test

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Steps to update:
215215
```
216216
Note: This is ran automatically during CI flows but it's good to run it during the version upgrade pull request.
217217
218-
1. Run `npm install --lockfile-version 2` to build with the new version and fix any build errors that occur.
218+
1. Run `npm install` to build with the new version and fix any build errors that occur.
219219
220220
1. Run unit tests: `npm run test`
221221

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Play nice; Play fair.
3434
## Requirements
3535

3636
* Apache Kafka >=0.9
37-
* Node.js >=4
37+
* Node.js >=16
3838
* Linux/Mac
3939
* Windows?! See below
4040
* OpenSSL

0 commit comments

Comments
 (0)