Skip to content

Commit d8003a8

Browse files
authored
[MOB-12180] Remove Redundant CI Steps (#947)
1 parent 007a3bb commit d8003a8

File tree

1 file changed

+5
-32
lines changed

1 file changed

+5
-32
lines changed

.circleci/config.yml

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -52,29 +52,12 @@ jobs:
5252
- image: cimg/node:16.17.1
5353
steps:
5454
- advanced-checkout/shallow-checkout
55-
5655
- run:
5756
name: Install Node Packages
5857
command: yarn
59-
6058
- run:
61-
name: jest tests
62-
command: |
63-
mkdir -p test-results/jest
64-
yarn run test
65-
environment:
66-
JEST_JUNIT_OUTPUT: test-results/jest/junit.xml
67-
68-
- persist_to_workspace:
69-
root: ~/project
70-
paths:
71-
- node_modules
72-
73-
- store_test_results:
74-
path: test-results
75-
76-
- store_artifacts:
77-
path: test-results
59+
name: Run Tests
60+
command: yarn test
7861

7962
test_android:
8063
executor:
@@ -144,7 +127,6 @@ jobs:
144127
-sdk iphonesimulator \
145128
-destination 'platform=iOS Simulator,name=iPhone 13 Pro Max,OS=15.5' \
146129
test | xcpretty
147-
no_output_timeout: 30m
148130
- run:
149131
name: Convert xcresult into JSON report
150132
working_directory: ios/coverage
@@ -165,9 +147,6 @@ jobs:
165147
INSTABUG_SOURCEMAPS_UPLOAD_DISABLE: true
166148
steps:
167149
- advanced-checkout/shallow-checkout
168-
- run:
169-
name: Install React Native CLI
170-
command: npm install -g react-native-cli
171150
- run:
172151
name: Install Detox CLI
173152
command: npm install -g detox-cli
@@ -177,9 +156,6 @@ jobs:
177156
- run:
178157
name: Install Node Packages
179158
command: yarn
180-
- run:
181-
name: Build Project
182-
command: yarn build:lib
183159
- run:
184160
name: Install Example's Node Packages
185161
working_directory: example
@@ -204,16 +180,13 @@ jobs:
204180
- advanced-checkout/shallow-checkout
205181
- run:
206182
name: Install Yarn
207-
command: npm install --global yarn
183+
command: npm install -g yarn
208184
- run:
209185
name: Install Detox CLI
210-
command: npm install --global detox-cli
186+
command: npm install -g detox-cli
211187
- run:
212188
name: Install Node Packages
213189
command: yarn
214-
- run:
215-
name: Build Project
216-
command: yarn build:lib
217190
- run:
218191
name: Install Example's Node Packages
219192
working_directory: example
@@ -241,7 +214,7 @@ jobs:
241214
working_directory: '~'
242215
steps:
243216
- advanced-checkout/shallow-checkout
244-
- run: git clone https://InstabugCI:$RELEASE_GITHUB_TOKEN@github.com/Instabug/Escape.git
217+
- run: git clone git@github.com:Instabug/Escape.git
245218
- run: cd Escape && swift build -c release
246219
- run: cd Escape/.build/release && cp -f Escape /usr/local/bin/escape
247220
- run: cd project && yarn && yarn build

0 commit comments

Comments
 (0)