-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.32 KB
/
pull-request.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: git-ci-build
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 12.x # no dc, last 12
- 14.0.0 # no dc, first 14
- 14.16.1 # last without dc
- 14.17.0 # introduces dc
- 14.x # nothing special, has dc, last 14
- 15.0.0 # first/last without dc
- 15.1.0 # introduces dc
- 15.x # nothing special, has dc, last 15
- 16.0.0 # introduces dc
- 16.16.0 # last without dc.subscribe/unsubscribe
- 16.17.0 # introduces dc.subscribe/unsubscribe
- 16.x # nothing special, has dc, latest 16
- 17.0.0 # nothing special, first 17
- 17.x # nothing special, has dc, last 17
- 18.0.0 # introduces dc
- 18.6.0 # last without dc.subscribe/unsubscribe
- 18.7.0 # introduces dc.subscribe/unsubscribe
- 18.x # nothing special, has dc, latest 18
- 19.9.0 # https://github.com/nodejs/node/pull/47520
- 20.0.0 # should support everything
- 20.x # nothing special, full support dc, latest 20
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm test