Skip to content

Commit eaa7d84

Browse files
committed
run tests for multiple nodes
1 parent 8da1228 commit eaa7d84

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/integrationTests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,13 @@ jobs:
272272

273273
npm:
274274
needs: Pretest
275-
name: npm (${{ matrix.os }})
275+
name: npm (${{ matrix.os }}) - node ${{ matrix.node }}
276276
strategy:
277277
fail-fast: false
278278
matrix:
279279
os: [ ubuntu-latest, macos-13, windows-latest ]
280+
# Testing both npm < 8.19 and npm >= 8.19
281+
node: [ 15, 20 ]
280282
runs-on: ${{ matrix.os }}
281283
steps:
282284
- name: Checkout code
@@ -287,9 +289,11 @@ jobs:
287289
- name: Install npm
288290
uses: actions/setup-node@v3
289291
with:
290-
node-version: "15"
292+
node-version: ${{ matrix.node }}
293+
291294
- name: Config list
292295
run: npm config ls -l
296+
293297
- name: Install Java
294298
uses: actions/setup-java@v3
295299
with:

0 commit comments

Comments
 (0)