Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 03d9593

Browse files
committed
drop support for Node.js versions 16, 21
1 parent 9de4ac0 commit 03d9593

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

.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
@@ -58,7 +58,7 @@
5858
"@types/ethereumjs-tx": "^1.0.1",
5959
"@types/hdkey": "^2.0.1",
6060
"@types/jest": "^28.1.6",
61-
"@types/node": "^16.18.57",
61+
"@types/node": "~18.18.14",
6262
"@types/sinon": "^9.0.10",
6363
"@types/w3c-web-usb": "^1.0.6",
6464
"@typescript-eslint/eslint-plugin": "^5.43.0",
@@ -84,7 +84,7 @@
8484
},
8585
"packageManager": "yarn@3.3.1",
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)