From 6eaeb6abc45d3de0a85102b3f6880923b5e0f983 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 10 Jan 2024 12:27:29 +0100 Subject: [PATCH] [#146] Fix failing github workflows --- .github/workflows/ci_4337.yml | 26 +++++++++++----------- .github/workflows/ci_4337_gas_metering.yml | 12 +++++----- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci_4337.yml b/.github/workflows/ci_4337.yml index 0a2140c6b..9cb46640e 100644 --- a/.github/workflows/ci_4337.yml +++ b/.github/workflows/ci_4337.yml @@ -6,17 +6,17 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: ./modules/4337 + working-directory: . steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 20.x cache: npm - cache-dependency-path: modules/4337/package-lock.json - - run: npm ci - - run: npm run build && npm run build:ts - - run: npm run coverage + cache-dependency-path: package-lock.json + - run: npm ci -w modules/4337 + - run: npm run build -w modules/4337 && npm run build:ts -w modules/4337 + - run: npm run coverage -w modules/4337 - name: Coveralls uses: coverallsapp/github-action@master with: @@ -26,15 +26,15 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: ./modules/4337 + working-directory: . steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 20.x cache: npm - cache-dependency-path: modules/4337/package-lock.json - - run: npm ci + cache-dependency-path: package-lock.json + - run: npm ci -w modules/4337 - run: | docker compose up -d # wait for containers to start up @@ -48,12 +48,12 @@ jobs: sleep 1 done - npm run test:e2e + npm run test:e2e -w modules/4337 lint: runs-on: ubuntu-latest defaults: run: - working-directory: ./modules/4337 + working-directory: . steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -61,6 +61,6 @@ jobs: node-version: 20.x cache: npm cache-dependency-path: modules/4337/package-lock.json - - run: npm ci - - run: npm run lint - - run: npm run fmt:check + - run: npm ci -w modules/4337 + - run: npm run lint -w modules/4337 + - run: npm run fmt:check -w modules/4337 diff --git a/.github/workflows/ci_4337_gas_metering.yml b/.github/workflows/ci_4337_gas_metering.yml index a34134659..523599b2e 100644 --- a/.github/workflows/ci_4337_gas_metering.yml +++ b/.github/workflows/ci_4337_gas_metering.yml @@ -6,15 +6,15 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: ./modules/4337-gas-metering + working-directory: . steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 20.x cache: npm - cache-dependency-path: modules/4337-gas-metering/package-lock.json - - run: npm ci - - run: npm run fmt:check - - run: npm run lint - - run: npm run build + cache-dependency-path: package-lock.json + - run: npm ci -w modules/4337-gas-metering + - run: npm run fmt:check -w modules/4337-gas-metering + - run: npm run lint -w modules/4337-gas-metering + - run: npm run build -w modules/4337-gas-metering