1
1
version : 2.1
2
+
2
3
orbs :
3
4
android : circleci/android@2.0
5
+ git-shallow-clone : guitarrapc/git-shallow-clone@2.4.1
6
+
4
7
jobs :
5
8
danger :
6
9
docker :
7
10
- image : dantoml/danger:latest
8
11
steps :
9
- - checkout
12
+ - git-shallow-clone/ checkout
10
13
- run : danger
11
14
12
15
lint :
13
- working_directory : ~/project
14
16
docker :
15
17
- image : cimg/node:16.17.1
16
18
steps :
17
- - checkout
19
+ - git-shallow-clone/ checkout
18
20
- run :
19
21
name : Install Node Packages
20
22
command : yarn
@@ -26,12 +28,10 @@ jobs:
26
28
command : yarn lint:ci
27
29
28
30
test_module :
29
- working_directory : ~/project
30
31
docker :
31
32
- image : cimg/node:16.17.1
32
33
steps :
33
- - checkout :
34
- path : ~/project
34
+ - git-shallow-clone/checkout
35
35
36
36
- run :
37
37
name : Install Node Packages
60
60
executor :
61
61
name : android/android-machine
62
62
tag : ' 2022.03.1'
63
- working_directory : ~/project
64
63
steps :
65
- - checkout :
66
- path : ~/project
64
+ - git-shallow-clone/checkout
67
65
- run :
68
66
name : Install Yarn
69
67
command : npm install -g yarn
78
76
validate_shell_files :
79
77
machine :
80
78
image : ubuntu-2004:current
81
- working_directory : ~/project
82
79
steps :
83
- - checkout :
84
- path : ~/project
80
+ - git-shallow-clone/checkout
85
81
- run :
86
82
name : Validate Android Script
87
83
command : bash -n android/upload_sourcemap.sh
95
91
sync_generated_files :
96
92
macos :
97
93
xcode : 13.4.1
98
- working_directory : ~/project
99
94
steps :
100
- - checkout
95
+ - git-shallow-clone/ checkout
101
96
- run : yarn
102
97
- run : cd example && yarn
103
98
- run : cd example/ios && pod install
@@ -112,8 +107,10 @@ jobs:
112
107
FL_OUTPUT_DIR : output
113
108
INSTABUG_SOURCEMAPS_UPLOAD_DISABLE : true
114
109
steps :
115
- - checkout :
116
- path : ~/project
110
+ - git-shallow-clone/checkout :
111
+ path : /Users/distiller/repo
112
+ # Fix for https://github.com/guitarrapc/git-shallow-clone-orb/issues/33
113
+ - run : mv ~/repo/* ~/project/
117
114
- run :
118
115
name : Install CocoaPods
119
116
command : sudo gem install cocoapods
@@ -152,12 +149,11 @@ jobs:
152
149
macos :
153
150
xcode : 13.4.1
154
151
resource_class : large
155
- working_directory : ~/project
156
152
environment :
157
153
FL_OUTPUT_DIR : output
158
154
INSTABUG_SOURCEMAPS_UPLOAD_DISABLE : true
159
155
steps :
160
- - checkout
156
+ - git-shallow-clone/ checkout
161
157
- run :
162
158
name : Install CocoaPods
163
159
command : sudo gem install cocoapods
@@ -198,9 +194,8 @@ jobs:
198
194
name : android/android-machine
199
195
tag : 2022.03.1
200
196
resource-class : large
201
- working_directory : ~/project
202
197
steps :
203
- - checkout
198
+ - git-shallow-clone/ checkout
204
199
- run :
205
200
name : Install Yarn
206
201
command : npm install --global yarn
@@ -239,13 +234,15 @@ jobs:
239
234
xcode : 13.4.1
240
235
working_directory : ' ~'
241
236
steps :
242
- - checkout :
243
- path : ~/project
237
+ - git-shallow-clone/checkout :
238
+ path : /Users/distiller/repo
239
+ # Fix for https://github.com/guitarrapc/git-shallow-clone-orb/issues/33
240
+ - run : mv ~/repo/* ~/project/
244
241
- run : git clone https://InstabugCI:$RELEASE_GITHUB_TOKEN@github.com/Instabug/Escape.git
245
242
- run : cd Escape && swift build -c release
246
243
- run : cd Escape/.build/release && cp -f Escape /usr/local/bin/escape
247
244
- run : cd project && yarn && yarn build
248
- - run : cd project && Escape react-native publish
245
+ # - run: cd project && Escape react-native publish
249
246
250
247
workflows :
251
248
publish :
@@ -274,9 +271,10 @@ workflows:
274
271
filters :
275
272
branches :
276
273
only : master
277
- - publish :
278
- requires :
279
- - hold
280
- filters :
281
- branches :
282
- only : master
274
+ - publish
275
+ # - publish:
276
+ # requires:
277
+ # - hold
278
+ # filters:
279
+ # branches:
280
+ # only: master
0 commit comments