File tree Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push]
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened, ready_for_review]
46
57jobs :
8+ lint :
9+ name : Lint
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v1
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : ' 10.x'
16+ - run : yarn install --frozen-lockfile
17+ - run : yarn lint
18+
619 test :
20+ name : Test
721 runs-on : ubuntu-latest
8-
922 steps :
10- - uses : actions/checkout@v1
11- - uses : docker://node:8
12- with :
13- entrypoint : yarn
14- args : install --pure-lockfile --audit
15- - uses : docker://node:8
16- with :
17- entrypoint : yarn
18- args : lint
19- - uses : docker://node:8
20- with :
21- entrypoint : yarn
22- args : test
23+ - uses : actions/checkout@v1
24+ - uses : actions/setup-node@v1
25+ with :
26+ node-version : ' 10.x'
27+ - run : yarn install --frozen-lockfile
28+ - run : yarn test
You can’t perform that action at this time.
0 commit comments