Skip to content

Commit c8ff951

Browse files
committed
drop support for Node.js versions 16, 21
1 parent a6152d0 commit c8ff951

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- name: Use Node.js
13-
uses: actions/setup-node@v3
13+
uses: actions/setup-node@v4
1414
with:
1515
node-version-file: '.nvmrc'
1616
cache: 'yarn'
@@ -24,11 +24,14 @@ jobs:
2424
- prepare
2525
strategy:
2626
matrix:
27-
node-version: [16.x, 18.x, 20.x]
27+
node-version:
28+
- 18.x
29+
- 20.x
30+
- 22.x
2831
steps:
2932
- uses: actions/checkout@v3
3033
- name: Use Node.js ${{ matrix.node-version }}
31-
uses: actions/setup-node@v3
34+
uses: actions/setup-node@v4
3235
with:
3336
node-version: ${{ matrix.node-version }}
3437
cache: 'yarn'
@@ -47,15 +50,12 @@ jobs:
4750
runs-on: ubuntu-latest
4851
needs:
4952
- prepare
50-
strategy:
51-
matrix:
52-
node-version: [16.x, 18.x, 20.x]
5353
steps:
5454
- uses: actions/checkout@v3
55-
- name: Use Node.js ${{ matrix.node-version }}
56-
uses: actions/setup-node@v3
55+
- name: Set up Node.js
56+
uses: actions/setup-node@v4
5757
with:
58-
node-version: ${{ matrix.node-version }}
58+
node-version-file: '.nvmrc'
5959
cache: 'yarn'
6060
- run: yarn --immutable --immutable-cache
6161
- run: yarn lint
@@ -80,11 +80,14 @@ jobs:
8080
- prepare
8181
strategy:
8282
matrix:
83-
node-version: [16.x, 18.x, 20.x]
83+
node-version:
84+
- 18.x
85+
- 20.x
86+
- 22.x
8487
steps:
8588
- uses: actions/checkout@v3
8689
- name: Use Node.js ${{ matrix.node-version }}
87-
uses: actions/setup-node@v3
90+
uses: actions/setup-node@v4
8891
with:
8992
node-version: ${{ matrix.node-version }}
9093
cache: 'yarn'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@types/ethereumjs-tx": "^1.0.1",
6161
"@types/hdkey": "^2.0.1",
6262
"@types/jest": "^28.1.6",
63-
"@types/node": "^16.18.59",
63+
"@types/node": "~18.18.14",
6464
"@typescript-eslint/eslint-plugin": "^5.43.0",
6565
"@typescript-eslint/parser": "^5.43.0",
6666
"depcheck": "^1.4.3",
@@ -84,7 +84,7 @@
8484
},
8585
"packageManager": "[email protected]",
8686
"engines": {
87-
"node": "^16.20 || ^18.16 || >=20"
87+
"node": "^18.18 || ^20.14 || >=22"
8888
},
8989
"publishConfig": {
9090
"access": "public",

0 commit comments

Comments
 (0)