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

Commit

Permalink
drop support for Node.js versions 16, 21
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Oct 3, 2024
1 parent a6152d0 commit 0363b40
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 25 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
Expand All @@ -24,11 +24,14 @@ jobs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version:
- 18.x
- 20.x
- 22.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand All @@ -47,15 +50,12 @@ jobs:
runs-on: ubuntu-latest
needs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn --immutable --immutable-cache
- run: yarn lint
Expand All @@ -80,11 +80,14 @@ jobs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version:
- 18.x
- 20.x
- 22.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@types/ethereumjs-tx": "^1.0.1",
"@types/hdkey": "^2.0.1",
"@types/jest": "^28.1.6",
"@types/node": "^16.18.59",
"@types/node": "~18.18.14",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"depcheck": "^1.4.3",
Expand All @@ -84,7 +84,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
"node": "^18.18 || ^20.14 || >=22"
},
"publishConfig": {
"access": "public",
Expand Down
17 changes: 5 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ __metadata:
"@types/ethereumjs-tx": ^1.0.1
"@types/hdkey": ^2.0.1
"@types/jest": ^28.1.6
"@types/node": ^16.18.59
"@types/node": ~18.18.14
"@typescript-eslint/eslint-plugin": ^5.43.0
"@typescript-eslint/parser": ^5.43.0
depcheck: ^1.4.3
Expand Down Expand Up @@ -1749,19 +1749,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*":
version: 20.12.7
resolution: "@types/node@npm:20.12.7"
"@types/node@npm:*, @types/node@npm:~18.18.14":
version: 18.18.14
resolution: "@types/node@npm:18.18.14"
dependencies:
undici-types: ~5.26.4
checksum: 7cc979f7e2ca9a339ec71318c3901b9978555257929ef3666987f3e447123bc6dc92afcc89f6347e09e07d602fde7d51bcddea626c23aa2bb74aeaacfd1e1686
languageName: node
linkType: hard

"@types/node@npm:^16.18.59":
version: 16.18.96
resolution: "@types/node@npm:16.18.96"
checksum: c5b4c20868e1ecb2e3b975b37aeeb5790b3a4f1472b496fae779ac4f14ba4fb4c0e9ed8e9b6eb389e5a074371056130c9d6506705b144b4f6985ffa844556242
checksum: 3a77e6819e50fd22196b08d542433e1513c855f4993a200bc0e7be076445c61ce2a9e5f7f202f060c46130b2b2f98643461fb7999f874475e6bb322c4534c580
languageName: node
linkType: hard

Expand Down

0 comments on commit 0363b40

Please sign in to comment.