From 5bc07adae28fe30aae6c720c8db6cb9784170dc7 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 24 Jan 2024 12:45:51 +0100 Subject: [PATCH] Add working dir as a default --- .github/workflows/ts_test.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ts_test.yaml b/.github/workflows/ts_test.yaml index 2c5e531af..45b327b56 100644 --- a/.github/workflows/ts_test.yaml +++ b/.github/workflows/ts_test.yaml @@ -9,6 +9,9 @@ jobs: environment: CI env: ETHEREUM_JSON_RPC_API_URL: ${{ secrets.ETHEREUM_JSON_RPC_API_URL }} + defaults: + run: + working-directory: packages/noir-ethereum-api steps: - name: Checkout @@ -26,11 +29,9 @@ jobs: - name: Install Dependencies run: yarn install - working-directory: packages/noir-ethereum-api - name: Run Unit Tests run: yarn test:unit - working-directory: packages/noir-ethereum-api - name: Install Nargo uses: noir-lang/noirup@v0.1.3 @@ -44,7 +45,6 @@ jobs: - name: Start Oracle Server run: | yarn oracle-server & - working-directory: packages/noir-ethereum-api - name: Generate Proof run: nargo prove --oracle-resolver=http://localhost:5555 @@ -52,4 +52,3 @@ jobs: - name: Run e2e Tests run: yarn test:e2e - working-directory: packages/noir-ethereum-api