Skip to content

Commit 804249f

Browse files
committed
Added both node 16 and 20 checks
1 parent 5bf8563 commit 804249f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/npmbuildonpullrequest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [16, 20]
1013
steps:
1114
- name: Checkout code
1215
uses: actions/checkout@v3
@@ -24,7 +27,7 @@ jobs:
2427
- name: Setup Node.js
2528
uses: actions/setup-node@v3
2629
with:
27-
node-version: "18"
30+
node-version: ${{ matrix.node-version }}
2831

2932
- name: Log Node.js and npm versions
3033
run: |

0 commit comments

Comments
 (0)