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 1
1
name : CI
2
2
3
- on : [push]
3
+ on :
4
+ pull_request :
5
+ types : [opened, synchronize, reopened, ready_for_review]
4
6
5
7
jobs :
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
+
6
19
test :
20
+ name : Test
7
21
runs-on : ubuntu-latest
8
-
9
22
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