Skip to content

Commit 4478d30

Browse files
committed
chore: upgrades NodeJS to 20
1 parent 40e531c commit 4478d30

File tree

5 files changed

+9039
-5510
lines changed

5 files changed

+9039
-5510
lines changed

.github/workflows/integration-test.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@ name: integration-test
22
on:
33
pull_request:
44
branches:
5-
- dev
5+
- release
6+
- release-candidate
67
- master
78

89
env:
910
TEST_WALLET_START_TIMEOUT: '180000' # 3 minutes
1011

1112
jobs:
1213
itest:
13-
runs-on: ubuntu-20.04
14+
runs-on: 'ubuntu-latest'
1415
timeout-minutes: 40
1516

1617
strategy:
1718
matrix:
18-
node-version: [14.x, 16.x]
19+
node-version: [20.x]
1920

2021
steps:
2122
# https://github.com/actions/checkout/releases/tag/v3.5.0
@@ -43,9 +44,6 @@ jobs:
4344
- name: Upload coverage
4445
# https://github.com/codecov/codecov-action/releases/tag/v3.1.1
4546
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
46-
if: ${{ matrix.node-version }} == 14.x
47-
with:
48-
verbose: true
4947
- name: Collect docker logs on failure
5048
if: failure()
5149
# https://github.com/jwalton/gh-docker-logs/releases/tag/v2.2.1

.github/workflows/main.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@ on:
33
push:
44
branches:
55
- master
6-
- dev
6+
- release
7+
- release-candidate
78
tags:
89
- v*
910
pull_request:
1011
branches:
11-
- dev
12+
- release
13+
- release-candidate
1214
- master
1315
jobs:
1416
test:
1517
runs-on: 'ubuntu-latest'
1618
timeout-minutes: 40 # default is 360
1719
strategy:
1820
matrix:
19-
node-version: [12.x, 14.x]
21+
node-version: [20.x]
2022
steps:
2123
# https://github.com/actions/checkout/releases/tag/v3.5.0
2224
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
@@ -34,6 +36,3 @@ jobs:
3436
- name: Upload coverage
3537
# https://github.com/codecov/codecov-action/releases/tag/v3.1.1
3638
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
37-
if: ${{ matrix.node-version }} == 14.x
38-
with:
39-
verbose: true

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14
1+
v20

0 commit comments

Comments
 (0)