Skip to content

Commit b6eb15e

Browse files
Update pr.yml
Need multiple version support
1 parent 53045fd commit b6eb15e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ on:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
node: [ '14', '13', '12']
1316
steps:
1417
- uses: actions/checkout@v2
1518
- uses: actions/setup-node@v1
1619
with:
17-
node-version: 12
20+
node-version: ${{ matrix.node }}
1821
- run: npm ci
1922
- run: npm test
2023
- run: npm run benchmark

0 commit comments

Comments
 (0)