Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix ci
  • Loading branch information
alexandre-abrioux committed Apr 14, 2025
commit 0b3ba3626e6f22220db2d932a5f978ff4d04aa6b
18 changes: 15 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ references:
POSTGRES_USER: graph-node
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph-node
enable_corepack: &enable_corepack
run:
name: Enable Corepack
command: sudo corepack enable
step_graph_deploy: &step_graph_deploy
name: 'Subgraph deployment and configuration'
working_directory: ~/
Expand All @@ -56,6 +60,7 @@ references:
sleep 1
done
echo Failed waiting for Node initialization && exit 1

jobs:
build:
docker:
Expand All @@ -68,9 +73,7 @@ jobs:
name: Restore Yarn Package Cache
keys:
- yarn-packages-{{ checksum "yarn.lock" }}
- run:
name: Enable Corepack
command: sudo corepack enable
- *enable_corepack
- run:
name: Yarn install
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
Expand All @@ -96,6 +99,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: Verify format
command: yarn format:check
Expand All @@ -110,6 +114,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Test unit'
command: |
Expand Down Expand Up @@ -161,6 +166,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Deploy test contract from smart-contracts'
command: 'yarn deploy:contracts'
Expand Down Expand Up @@ -200,6 +206,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Deploy test contract from smart-contracts'
command: 'yarn deploy:contracts'
Expand All @@ -223,6 +230,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Build usage-examples'
command: 'yarn workspace @requestnetwork/usage-examples run build'
Expand All @@ -236,6 +244,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Build toolbox'
command: 'yarn workspace @requestnetwork/toolbox run build'
Expand All @@ -251,6 +260,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Deploy test contract from smart-contracts'
command: 'yarn deploy:contracts'
Expand All @@ -277,6 +287,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Test payment-processor (hinkal)'
no_output_timeout: 30m
Expand All @@ -293,6 +304,7 @@ jobs:
steps:
- attach_workspace:
at: *working_directory
- *enable_corepack
- run:
name: 'Allow github ssh host'
command: mkdir ~/.ssh; echo 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==' >> ~/.ssh/known_hosts
Expand Down