Skip to content

Commit a1321b0

Browse files
authored
ci: add node versions tests (#67)
1 parent 2975fcb commit a1321b0

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
check-circular:
1313
name: Circular Dependencies
1414
timeout-minutes: 5
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Use Node.js ${{ matrix.NODE_VERSION }}
@@ -32,7 +32,7 @@ jobs:
3232
check-lint:
3333
name: Lint
3434
timeout-minutes: 5
35-
runs-on: ubuntu-18.04
35+
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v2
3838
- name: Use Node.js ${{ matrix.NODE_VERSION }}
@@ -50,9 +50,21 @@ jobs:
5050
run: npm ci
5151
- run: npm run lint
5252
check-tests:
53+
strategy:
54+
matrix:
55+
include:
56+
- name: Node 12
57+
NODE_VERSION: 12
58+
- name: Node 14
59+
NODE_VERSION: 14
60+
- name: Node 16
61+
NODE_VERSION: 16
62+
- name: Node 18
63+
NODE_VERSION: 18
64+
fail-fast: false
5365
name: Tests
5466
timeout-minutes: 5
55-
runs-on: ubuntu-18.04
67+
runs-on: ubuntu-latest
5668
steps:
5769
- uses: actions/checkout@v2
5870
- name: Use Node.js

0 commit comments

Comments
 (0)