This repository was archived by the owner on Dec 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 14
14
- .github/**/*.yml
15
15
16
16
jobs :
17
+ lint :
18
+ name : lint
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@master
22
+ - uses : actions/setup-node@master
23
+ with :
24
+ node-version : 12.x
25
+ - run : npx yarn bootstrap
26
+ - run : npx yarn typescript
27
+ - run : npx yarn lint
28
+
17
29
test :
18
30
strategy :
19
31
matrix :
30
42
- run : npx yarn test
31
43
32
44
coverage :
33
- needs : [test]
45
+ needs : [test, lint ]
34
46
name : coverage
35
47
runs-on : ubuntu-latest
36
48
steps :
47
59
debug : true
48
60
49
61
publish :
50
- needs : [test]
62
+ needs : [test, lint ]
51
63
name : Publish example app to Expo 🚀
52
64
runs-on : ubuntu-latest
53
65
steps :
65
77
run : expo publish
66
78
67
79
chromatic :
68
- needs : [test]
80
+ needs : [test, lint ]
69
81
name : Publish storybook to chromatic 🧪
70
82
runs-on : ubuntu-latest
71
83
steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,18 @@ name: review
2
2
on : pull_request
3
3
4
4
jobs :
5
+ lint :
6
+ name : lint
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@master
10
+ - uses : actions/setup-node@master
11
+ with :
12
+ node-version : 12.x
13
+ - run : npx yarn bootstrap
14
+ - run : npx yarn typescript
15
+ - run : npx yarn lint
16
+
5
17
test :
6
18
strategy :
7
19
matrix :
18
30
- run : npx yarn test
19
31
20
32
coverage :
21
- needs : [test]
33
+ needs : [test, lint ]
22
34
name : coverage
23
35
runs-on : ubuntu-latest
24
36
steps :
33
45
github-token : ${{ secrets.GITHUB_TOKEN }}
34
46
35
47
chromatic :
36
- needs : [test]
48
+ needs : [test, lint ]
37
49
name : Publish storybook to chromatic 🧪
38
50
runs-on : ubuntu-latest
39
51
steps :
You can’t perform that action at this time.
0 commit comments