File tree Expand file tree Collapse file tree 3 files changed +8
-45
lines changed
Expand file tree Collapse file tree 3 files changed +8
-45
lines changed Original file line number Diff line number Diff line change 1- name : Node CI
2-
3- on :
4- pull_request :
5- branches :
6- - master
1+ name : Build
2+ on : [push]
73jobs :
84 build :
9-
105 runs-on : ubuntu-latest
11-
12- strategy :
13- matrix :
14- node-version : [8.x, 10.x, 12.x]
15-
166 steps :
17- - uses : actions/checkout@v1
18- - name : Use Node.js ${{ matrix.node-version }}
7+ - uses : actions/checkout@v2
8+ - name : Use Node.js
199 uses : actions/setup-node@v1
2010 with :
21- node-version : ${{ matrix.node-version }}
22- - name : npm install, build, and test
23- run : |
24- npm install
25- npm run build --if-present
26- npm test
11+ node-version : ' 14.x'
12+ - run : npm install
13+ - run : npm run build --if-present
14+ - run : npm test
2715 env :
2816 CI : true
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments