Skip to content

Commit 1bc1669

Browse files
authored
Merge pull request #7099 from NomicFoundation/chore/update-node-in-test-matrix
chore: update CI test matrix to include Node 22
2 parents f18b1ea + 554c2a1 commit 1bc1669

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

.github/workflows/v-next-ci.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,12 @@ jobs:
241241
matrix:
242242
package: ${{ fromJson(needs.list-packages.outputs.packages) }}
243243
os: [ubuntu-latest, macos-13, macos-latest, windows-latest]
244-
node: [22, 24]
244+
node: [22.0.0, 24.0.0]
245+
exclude:
246+
- package: hardhat-node-test-reporter
247+
node: 22.0.0
248+
- package: hardhat-node-test-reporter
249+
node: 24.0.0
245250

246251
name: "[${{ matrix.package }}] ci on ${{ matrix.os }} (Node ${{ matrix.node }})"
247252
runs-on: ${{ matrix.os }}
@@ -279,3 +284,33 @@ jobs:
279284
exit 1
280285
fi
281286
shell: bash
287+
288+
hardhat-node-test-reporter:
289+
needs: list-packages
290+
291+
strategy:
292+
fail-fast: false
293+
matrix:
294+
os: [ubuntu-latest, macos-13, macos-latest, windows-latest]
295+
# We run the tests for `hardhat-node-test-reporter` with the latest
296+
# versions of Node (the testing output relying on recent changes)
297+
node: [22, 24]
298+
299+
name: "[hardhat-node-test-reporter] ci on ${{ matrix.os }} (Node ${{ matrix.node }})"
300+
runs-on: ${{ matrix.os }}
301+
defaults:
302+
run:
303+
working-directory: v-next/hardhat-node-test-reporter
304+
steps:
305+
- uses: actions/checkout@v4
306+
- uses: ./.github/actions/setup-env
307+
with:
308+
node-version: ${{ matrix.node }}
309+
- name: Install dependencies
310+
run: pnpm install --frozen-lockfile --prefer-offline
311+
- name: Build
312+
run: pnpm run --if-present build
313+
- name: Run tests
314+
env:
315+
__DO_NOT_USE_IS_HARDHAT_CI: true
316+
run: pnpm run --if-present test

0 commit comments

Comments
 (0)