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