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 1414 - .github/**/*.yml
1515
1616jobs :
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+
1729 test :
1830 strategy :
1931 matrix :
3042 - run : npx yarn test
3143
3244 coverage :
33- needs : [test]
45+ needs : [test, lint ]
3446 name : coverage
3547 runs-on : ubuntu-latest
3648 steps :
4759 debug : true
4860
4961 publish :
50- needs : [test]
62+ needs : [test, lint ]
5163 name : Publish example app to Expo 🚀
5264 runs-on : ubuntu-latest
5365 steps :
6577 run : expo publish
6678
6779 chromatic :
68- needs : [test]
80+ needs : [test, lint ]
6981 name : Publish storybook to chromatic 🧪
7082 runs-on : ubuntu-latest
7183 steps :
Original file line number Diff line number Diff line change @@ -2,6 +2,18 @@ name: review
22on : pull_request
33
44jobs :
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+
517 test :
618 strategy :
719 matrix :
1830 - run : npx yarn test
1931
2032 coverage :
21- needs : [test]
33+ needs : [test, lint ]
2234 name : coverage
2335 runs-on : ubuntu-latest
2436 steps :
3345 github-token : ${{ secrets.GITHUB_TOKEN }}
3446
3547 chromatic :
36- needs : [test]
48+ needs : [test, lint ]
3749 name : Publish storybook to chromatic 🧪
3850 runs-on : ubuntu-latest
3951 steps :
You can’t perform that action at this time.
0 commit comments