Skip to content

Commit aba6b96

Browse files
committed
Test older node version
1 parent aa41597 commit aba6b96

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/ci-cd.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node: [18, 20, 22, 24]
13+
node: [14, 16, 18, 20, 22, 24]
1414
os: [ubuntu-latest, macOS-latest, windows-latest]
15+
exclude:
16+
- node: 14
17+
os: macOS-latest
1518
steps:
1619
- uses: actions/checkout@v3
1720
- name: Setup node
@@ -29,12 +32,16 @@ jobs:
2932
strategy:
3033
fail-fast: false
3134
matrix:
32-
node: [18, 20, 22, 24]
35+
node: [14, 16, 18, 20, 22, 24]
3336
os: [ubuntu-latest, macOS-latest, windows-latest]
37+
exclude:
38+
- node: 14
39+
os: macOS-latest
40+
3441
steps:
3542
- uses: actions/checkout@v3
3643
- name: Setup node
37-
uses: actions/setup-node@v3
44+
uses: actions/setup-node@v4
3845
with:
3946
node-version: ${{ matrix.node }}
4047
- name: Install Dependencies
@@ -55,7 +62,7 @@ jobs:
5562
steps:
5663
- uses: actions/checkout@v3
5764
- name: Set up node
58-
uses: actions/setup-node@v3
65+
uses: actions/setup-node@v4
5966
with:
6067
node-version: "22.x"
6168
registry-url: "https://registry.npmjs.org"

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.8.1
2+
3+
* Set minimum node engine to v14 in package.json
4+
* Update examples in README
5+
* Test the code on node 24
6+
17
## 1.8.0
28
* Refine convert TypeScript types and add type tests
39
* Replace unmaintained proxying-agent with [https-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/main/packages/https-proxy-agent)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"integration": "rm -rf lib/**.{js,ts} && tsc && mocha --reporter dot test/integration.js"
3737
},
3838
"engines": {
39-
"node": ">= 18.0"
39+
"node": ">= 14.0"
4040
},
4141
"main": "lib/index.js",
4242
"types": "lib/index.d.ts",

0 commit comments

Comments
 (0)