Skip to content

Commit d35036a

Browse files
updated jobs with matrix (#58)
* updated jobs with matrix
1 parent 4913047 commit d35036a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/pull-request.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,30 @@ on:
66
- master
77

88
jobs:
9-
test-unix-node16:
9+
unix:
10+
strategy:
11+
matrix:
12+
node_version: [ 16, 18 ]
1013
runs-on: ubuntu-latest
1114
steps:
1215
- uses: actions/checkout@v3
1316
- uses: actions/setup-node@v3
1417
with:
15-
node-version: 16
18+
node-version: ${{ matrix.node_version }}
1619
- run: npm ci
1720
- run: npm run build
1821
- run: npm run test
1922
- run: npm run test:e2e
20-
test-windows-node16:
23+
windows:
24+
strategy:
25+
matrix:
26+
node_version: [ 16, 18 ]
2127
runs-on: windows-latest
2228
steps:
2329
- uses: actions/checkout@v3
2430
- uses: actions/setup-node@v3
2531
with:
26-
node-version: 16
32+
node-version: ${{ matrix.node_version }}
2733
- run: npm ci
2834
- run: npm run build
2935
- run: npm run test:e2e

0 commit comments

Comments
 (0)