Skip to content

Commit a0cedf5

Browse files
chore: use corepack (#1604)
1 parent c28b040 commit a0cedf5

File tree

5 files changed

+22
-147534
lines changed

5 files changed

+22
-147534
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
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,6 +73,7 @@ jobs:
6873
name: Restore Yarn Package Cache
6974
keys:
7075
- yarn-packages-{{ checksum "yarn.lock" }}
76+
- *enable_corepack
7177
- run:
7278
name: Yarn install
7379
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
@@ -93,6 +99,7 @@ jobs:
9399
steps:
94100
- attach_workspace:
95101
at: *working_directory
102+
- *enable_corepack
96103
- run:
97104
name: Verify format
98105
command: yarn format:check
@@ -107,6 +114,7 @@ jobs:
107114
steps:
108115
- attach_workspace:
109116
at: *working_directory
117+
- *enable_corepack
110118
- run:
111119
name: 'Test unit'
112120
command: |
@@ -162,6 +170,7 @@ jobs:
162170
steps:
163171
- attach_workspace:
164172
at: *working_directory
173+
- *enable_corepack
165174
- run:
166175
name: 'Deploy test contract from smart-contracts'
167176
command: 'yarn deploy:contracts'
@@ -201,6 +210,7 @@ jobs:
201210
steps:
202211
- attach_workspace:
203212
at: *working_directory
213+
- *enable_corepack
204214
- run:
205215
name: 'Deploy test contract from smart-contracts'
206216
command: 'yarn deploy:contracts'
@@ -224,6 +234,7 @@ jobs:
224234
steps:
225235
- attach_workspace:
226236
at: *working_directory
237+
- *enable_corepack
227238
- run:
228239
name: 'Build usage-examples'
229240
command: 'yarn workspace @requestnetwork/usage-examples run build'
@@ -237,6 +248,7 @@ jobs:
237248
steps:
238249
- attach_workspace:
239250
at: *working_directory
251+
- *enable_corepack
240252
- run:
241253
name: 'Build toolbox'
242254
command: 'yarn workspace @requestnetwork/toolbox run build'
@@ -252,6 +264,7 @@ jobs:
252264
steps:
253265
- attach_workspace:
254266
at: *working_directory
267+
- *enable_corepack
255268
- run:
256269
name: 'Deploy test contract from smart-contracts'
257270
command: 'yarn deploy:contracts'
@@ -278,6 +291,7 @@ jobs:
278291
steps:
279292
- attach_workspace:
280293
at: *working_directory
294+
- *enable_corepack
281295
- run:
282296
name: 'Test payment-processor (hinkal)'
283297
no_output_timeout: 30m
@@ -294,6 +308,7 @@ jobs:
294308
steps:
295309
- attach_workspace:
296310
at: *working_directory
311+
- *enable_corepack
297312
- run:
298313
name: 'Allow github ssh host'
299314
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)