forked from react-native-share/react-native-share
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
35 lines (34 loc) · 852 Bytes
/
circle.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
version: 2
executorType: docker
jobs:
build:
resource_class: large
working_directory: ~/app
docker:
- image: circleci/android:api-28-node
steps:
- checkout
- restore_cache:
keys:
- v1_1-npm-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1_1-npm
- run:
name: Install Dependencies
command: yarn install
- run:
name: Lint
command: yarn lint
- run:
name: Run Checks
command: |
cd android
chmod +x ./gradlew
./gradlew clean && ./gradlew && ./gradlew check
- save_cache:
key: v1_1-npm
paths:
- node_modules/
- save_cache:
key: v1_1-npm-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/