From 020422d5476072fcaa040c18f7383c7ccd218c42 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Wed, 19 Jul 2023 10:33:48 +0200 Subject: [PATCH 1/2] fix sidecar --- .github/workflows/ci.yml | 2 +- packages/e2e/scripts/sidecar-chopsticks.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42514fb6..ef85dc72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,5 +40,5 @@ jobs: - run: yarn build - run: yarn test - name: Test substrate-api-sidecard with chopsticks node - if: ${{ github.ref_name == 'master' }} + # if: ${{ github.ref_name == 'master' }} run: yarn workspace @acala-network/chopsticks-e2e run sidecar diff --git a/packages/e2e/scripts/sidecar-chopsticks.sh b/packages/e2e/scripts/sidecar-chopsticks.sh index a3b5c8aa..8617a4de 100755 --- a/packages/e2e/scripts/sidecar-chopsticks.sh +++ b/packages/e2e/scripts/sidecar-chopsticks.sh @@ -13,6 +13,7 @@ yarn dev:karura --port 8012 & KARURA_PID=$! cd substrate-api-sidecar yarn +yarn add -D ts-node SAS_SUBSTRATE_URL=ws://127.0.0.1:8011 SAS_EXPRESS_PORT=8111 yarn ts-node src/main.ts & ACALA_SIDECAR_PID=$! SAS_SUBSTRATE_URL=ws://127.0.0.1:8012 SAS_EXPRESS_PORT=8112 yarn ts-node src/main.ts & KARURA_SIDECAR_PID=$! From 050498752606ab0020cb690f028cf87fef0b7d5d Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Wed, 19 Jul 2023 10:50:54 +0200 Subject: [PATCH 2/2] enable check --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef85dc72..42514fb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,5 +40,5 @@ jobs: - run: yarn build - run: yarn test - name: Test substrate-api-sidecard with chopsticks node - # if: ${{ github.ref_name == 'master' }} + if: ${{ github.ref_name == 'master' }} run: yarn workspace @acala-network/chopsticks-e2e run sidecar