Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit a3fe342

Browse files
Reduce some CI/CD tests (#6698)
* reduce some CI/CD tests * add node 20 to Build CJS * update hardhat version
1 parent 1eb07d1 commit a3fe342

File tree

3 files changed

+415
-157
lines changed

3 files changed

+415
-157
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
build:
1515
strategy:
1616
matrix:
17-
node: [18, 16]
17+
node: [18, 20]
1818
name: Build CJS
1919
runs-on: ubuntu-latest
2020
steps:
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
node: [ 18, 16 ]
40+
node: [ 18 ]
4141
steps:
4242
- uses: actions/setup-node@v3
4343
with:
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
strategy:
5656
matrix:
57-
node: [ 18, 16 ]
57+
node: [ 18 ]
5858
steps:
5959
- uses: actions/setup-node@v3
6060
with:
@@ -123,7 +123,7 @@ jobs:
123123
runs-on: ubuntu-latest
124124
strategy:
125125
matrix:
126-
node: [18, 16]
126+
node: [18, 20]
127127
steps:
128128
- uses: actions/setup-node@v3
129129
with:
@@ -142,7 +142,7 @@ jobs:
142142
if: ${{ matrix.node == 18 }}
143143

144144
integration:
145-
name: Integration
145+
name: Integration # (ganache with HTTP)
146146
needs: build
147147
runs-on: ubuntu-latest
148148
env:
@@ -151,9 +151,9 @@ jobs:
151151
strategy:
152152
fail-fast: false
153153
matrix:
154-
node: [18, 16]
155-
backend: ['geth', 'ganache']
156-
mode: ['http', 'ws']
154+
node: [18]
155+
backend: ['ganache']
156+
mode: ['http']
157157
steps:
158158
- uses: actions/setup-node@v3
159159
with:
@@ -167,7 +167,7 @@ jobs:
167167
shell: bash
168168

169169
e2e-ipc:
170-
name: Integration IPC
170+
name: Integration # (geth with HTTP, IPC & WS)
171171
needs: build
172172
runs-on: ubuntu-latest
173173
env:
@@ -176,9 +176,9 @@ jobs:
176176
strategy:
177177
fail-fast: false
178178
matrix:
179-
node: [ 18, 16 ]
179+
node: [ 18 ]
180180
backend: [ 'geth' ]
181-
mode: [ 'ipc' ]
181+
mode: [ 'ipc', 'ws', 'http' ]
182182
steps:
183183
- uses: actions/setup-node@v3
184184
with:
@@ -198,7 +198,7 @@ jobs:
198198
strategy:
199199
fail-fast: false
200200
matrix:
201-
node: [18, 16]
201+
node: [18]
202202
browser: ['electron', 'chrome', 'firefox']
203203
steps:
204204
- uses: actions/setup-node@v3

packages/web3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"eslint-plugin-import": "^2.26.0",
7777
"ethereum-cryptography": "^2.1.2",
7878
"ganache": "^7.5.0",
79-
"hardhat": "^2.12.2",
79+
"hardhat": "^2.19.4",
8080
"in3": "^3.3.3",
8181
"jest": "^29.7.0",
8282
"jest-extended": "^3.0.1",

0 commit comments

Comments
 (0)