Skip to content

Commit 0b3ba36

Browse files
fix ci
1 parent 5e9f3a9 commit 0b3ba36

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.circleci/config.yml

+15-3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ references:
3535
POSTGRES_USER: graph-node
3636
POSTGRES_PASSWORD: let-me-in
3737
POSTGRES_DB: graph-node
38+
enable_corepack: &enable_corepack
39+
run:
40+
name: Enable Corepack
41+
command: sudo corepack enable
3842
step_graph_deploy: &step_graph_deploy
3943
name: 'Subgraph deployment and configuration'
4044
working_directory: ~/
@@ -56,6 +60,7 @@ references:
5660
sleep 1
5761
done
5862
echo Failed waiting for Node initialization && exit 1
63+
5964
jobs:
6065
build:
6166
docker:
@@ -68,9 +73,7 @@ jobs:
6873
name: Restore Yarn Package Cache
6974
keys:
7075
- yarn-packages-{{ checksum "yarn.lock" }}
71-
- run:
72-
name: Enable Corepack
73-
command: sudo corepack enable
76+
- *enable_corepack
7477
- run:
7578
name: Yarn install
7679
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
@@ -96,6 +99,7 @@ jobs:
9699
steps:
97100
- attach_workspace:
98101
at: *working_directory
102+
- *enable_corepack
99103
- run:
100104
name: Verify format
101105
command: yarn format:check
@@ -110,6 +114,7 @@ jobs:
110114
steps:
111115
- attach_workspace:
112116
at: *working_directory
117+
- *enable_corepack
113118
- run:
114119
name: 'Test unit'
115120
command: |
@@ -161,6 +166,7 @@ jobs:
161166
steps:
162167
- attach_workspace:
163168
at: *working_directory
169+
- *enable_corepack
164170
- run:
165171
name: 'Deploy test contract from smart-contracts'
166172
command: 'yarn deploy:contracts'
@@ -200,6 +206,7 @@ jobs:
200206
steps:
201207
- attach_workspace:
202208
at: *working_directory
209+
- *enable_corepack
203210
- run:
204211
name: 'Deploy test contract from smart-contracts'
205212
command: 'yarn deploy:contracts'
@@ -223,6 +230,7 @@ jobs:
223230
steps:
224231
- attach_workspace:
225232
at: *working_directory
233+
- *enable_corepack
226234
- run:
227235
name: 'Build usage-examples'
228236
command: 'yarn workspace @requestnetwork/usage-examples run build'
@@ -236,6 +244,7 @@ jobs:
236244
steps:
237245
- attach_workspace:
238246
at: *working_directory
247+
- *enable_corepack
239248
- run:
240249
name: 'Build toolbox'
241250
command: 'yarn workspace @requestnetwork/toolbox run build'
@@ -251,6 +260,7 @@ jobs:
251260
steps:
252261
- attach_workspace:
253262
at: *working_directory
263+
- *enable_corepack
254264
- run:
255265
name: 'Deploy test contract from smart-contracts'
256266
command: 'yarn deploy:contracts'
@@ -277,6 +287,7 @@ jobs:
277287
steps:
278288
- attach_workspace:
279289
at: *working_directory
290+
- *enable_corepack
280291
- run:
281292
name: 'Test payment-processor (hinkal)'
282293
no_output_timeout: 30m
@@ -293,6 +304,7 @@ jobs:
293304
steps:
294305
- attach_workspace:
295306
at: *working_directory
307+
- *enable_corepack
296308
- run:
297309
name: 'Allow github ssh host'
298310
command: mkdir ~/.ssh; echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==' >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)