File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 11name : Node CI
22
3- on : [push]
3+ on : [push, pull_request ]
44
55jobs :
66 build :
7-
8- runs-on : ubuntu-latest
9-
107 strategy :
118 matrix :
12- node-version : [8.x, 10.x, 12.x]
13-
9+ node : [8.x, 10.x, 12.x]
10+ os : [ubuntu-latest, windows-latest]
11+ cmd : [npm cit]
12+ exclude : # only test windows on node 12
13+ - os : windows-latest
14+ node : 8.x
15+ - os : windows-latest
16+ node : 10.x
17+ - os : windows-latest
18+ node : 12.x
19+ runs-on : ${{ matrix.os }}
1420 steps :
1521 - uses : actions/checkout@v1
16- - name : Use Node.js ${{ matrix.node-version }}
22+ - name : Use Node.js ${{ matrix.node }}
1723 uses : actions/setup-node@v1
1824 with :
19- node-version : ${{ matrix.node-version }}
20- - name : npm install and test
21- run : npm cit
25+ node-version : ${{ matrix.node }}
26+ - name : ${{ matrix.cmd }}
27+ run : ${{ matrix.cmd }}
You can’t perform that action at this time.
0 commit comments