File tree Expand file tree Collapse file tree 2 files changed +45
-38
lines changed Expand file tree Collapse file tree 2 files changed +45
-38
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+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ ci :
13+ runs-on : ${{ matrix.os }}
14+
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest]
18+ node : [12]
19+
20+ steps :
21+ - uses : actions/setup-node@v1
22+ with :
23+ node-version : ${{ matrix.node }}
24+
25+ - name : checkout
26+ uses : actions/checkout@master
27+
28+ - name : cache node_modules
29+ uses : actions/cache@v1
30+ with :
31+ path : node_modules
32+ key : ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
33+
34+ - name : Install dependencies
35+ if : steps.cache.outputs.cache-hit != 'true'
36+ run : yarn
37+
38+ - name : Lint
39+ run : yarn lint
40+
41+ - name : Test
42+ run : yarn jest
43+
44+ - name : Coverage
45+ uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments