File tree Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Expand file tree Collapse file tree 1 file changed +23
-10
lines changed Original file line number Diff line number Diff line change 1- name : Build
1+ name : Lint and Build
22
33on :
4- push :
5- branches :
6- - master
74 pull_request :
85 branches :
96 - master
107
118jobs :
12- lint :
9+ LinterCheck :
1310 runs-on : ubuntu-latest
1411 steps :
1512 - uses : actions/checkout@v2
1613 - uses : actions/setup-node@v1
1714 with :
1815 node-version : ' 10.x'
19- - name : Install dependencies
16+ - name : Linter
2017 run : |
2118 yarn
22- - name : Lint
23- run : |
2419 yarn lint
25- - name : Check formatting
20+
21+ FormattingCheck :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v2
25+ - uses : actions/setup-node@v1
26+ with :
27+ node-version : ' 10.x'
28+ - name : Formatting Check
2629 run : |
30+ yarn
2731 yarn format:check
28- - name : Check build
32+
33+ BuildCheck :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v2
37+ - uses : actions/setup-node@v1
38+ with :
39+ node-version : ' 10.x'
40+ - name : Build Status
2941 run : |
42+ yarn
3043 yarn build
You can’t perform that action at this time.
0 commit comments