File tree Expand file tree Collapse file tree 3 files changed +42
-55
lines changed
Expand file tree Collapse file tree 3 files changed +42
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ ci :
8+ runs-on : ubuntu-latest
9+
10+ strategy :
11+ matrix :
12+ node-version : [10.x, 12.x, 14.x]
13+
14+ steps :
15+ - uses : actions/checkout@v1
16+
17+ - name : Use Node.js ${{ matrix.node-version }}
18+ uses : actions/setup-node@v1
19+ with :
20+ node-version : ${{ matrix.node-version }}
21+
22+ - name : Cache node modules
23+ uses : actions/cache@v1
24+ with :
25+ path : ~/.npm
26+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}-${{ matrix.node-version }}
27+
28+ - name : Install
29+ run : npm install
30+
31+ - name : Lint
32+ run : npm run lint
33+
34+ - name : Test
35+ run : npm run test
36+
37+ - name : Build
38+ run : npm run build
39+
40+ - name : Coverage
41+ run : npm run coverage
Original file line number Diff line number Diff line change 55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "engines" : {
8- "node" : " >= 8 .0.0"
8+ "node" : " >= 10 .0.0"
99 },
1010 "dependencies" : {},
1111 "prettier" : {},
You can’t perform that action at this time.
0 commit comments