-
Notifications
You must be signed in to change notification settings - Fork 503
/
config.yml
61 lines (55 loc) · 1.09 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 2.1
orbs:
rn: react-native-community/react-native@3.0.0
jobs:
checkout_code:
executor: rn/linux_js
steps:
- checkout
- persist_to_workspace:
root: .
paths: .
analyse_js:
executor: rn/linux_js
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
name: Run ESLint
command: yarn lint
type_check:
executor: rn/linux_js
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
name: Check for Typings
command: yarn type-check
release:
executor: rn/linux_js
steps:
- attach_workspace:
at: .
- rn/yarn_install
- run:
name: Publish to NPM
command: yarn semantic-release || true
workflows:
ci:
jobs:
- checkout_code
- analyse_js:
requires:
- checkout_code
- type_check:
requires:
- checkout_code
- release:
requires:
- analyse_js
- type_check
filters:
branches:
only: master