Skip to content

Commit 853e8a7

Browse files
committed
chore: upgrade node to v22
Ticket: WP-4684
1 parent 95b9566 commit 853e8a7

File tree

4 files changed

+798
-882
lines changed

4 files changed

+798
-882
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
node-version:
77
description: 'Node.js version to use'
88
type: string
9-
default: '20.18.0'
9+
default: '22.1.0'
1010

1111
jobs:
1212
build:
@@ -69,10 +69,10 @@ jobs:
6969
- name: Test
7070
run: yarn test
7171
env:
72-
NODE_OPTIONS: "--max-old-space-size=4096"
72+
NODE_OPTIONS: '--max-old-space-size=4096'
7373
MASTER_BITGO_EXPRESS_KEYPATH: ./test-ssl-key.pem
7474
MASTER_BITGO_EXPRESS_CRTPATH: ./test-ssl-cert.pem
7575
MTLS_ENABLED: true
7676
MTLS_REQUEST_CERT: true
7777
MTLS_REJECT_UNAUTHORIZED: false
78-
KMS_URL: "https://localhost:3000/"
78+
KMS_URL: 'https://localhost:3000/'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22.1.0

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"generate-test-ssl": "openssl req -x509 -newkey rsa:2048 -keyout test-ssl-key.pem -out test-ssl-cert.pem -days 365 -nodes -subj '/CN=localhost'"
1818
},
1919
"dependencies": {
20-
"@bitgo/sdk-core": "^33.2.0",
21-
"bitgo": "^44.2.0",
20+
"@bitgo/sdk-core": "^35.2.0",
21+
"bitgo": "^48.0.0",
2222
"body-parser": "^1.20.3",
2323
"connect-timeout": "^1.9.0",
2424
"debug": "^3.1.0",
@@ -59,8 +59,8 @@
5959
"supertest": "^4.0.2",
6060
"ts-jest": "^29.1.2",
6161
"typescript": "^4.2.4"
62-
},
62+
},
6363
"engines": {
64-
"node": ">=20.18.0"
64+
"node": ">=22.1.0"
6565
}
6666
}

0 commit comments

Comments
 (0)