Skip to content

Commit 8e26748

Browse files
committed
try
1 parent bb06854 commit 8e26748

File tree

1 file changed

+41
-10
lines changed

1 file changed

+41
-10
lines changed

.circleci/config.yml

Lines changed: 41 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,48 @@
11
version: 2.1
2+
3+
24
orbs:
3-
node: circleci/[email protected]
5+
rn: react-native-community/[email protected]
6+
7+
48
jobs:
5-
build-and-test:
6-
executor:
7-
name: node/default
9+
checkout_code:
10+
executor: rn/linux_js
811
steps:
912
- checkout
10-
- node/with-cache:
11-
steps:
12-
- run: yarn install
13-
- run: yarn test
13+
- persist_to_workspace:
14+
root: .
15+
paths: .
16+
analyze:
17+
executor: rn/linux_js
18+
steps:
19+
- attach_workspace:
20+
at: .
21+
- rn/yarn_install
22+
- run:
23+
name: Lint JS Code (ESLint)
24+
command: yarn lint
25+
- run:
26+
name: Jest
27+
command: yarn test
28+
publish:
29+
executor: rn/linux_js
30+
steps:
31+
- attach_workspace:
32+
at: .
33+
- rn/yarn_install
34+
# - run:
35+
# name: Publish to NPM
36+
# command: yarn ci:publish
37+
38+
1439
workflows:
15-
build-and-test:
40+
test:
1641
jobs:
17-
- build-and-test
42+
- checkout_code
43+
- analyze:
44+
requires:
45+
- checkout_code
46+
# - publish:
47+
# requires:
48+
# - analyze

0 commit comments

Comments
 (0)