Skip to content

Commit

Permalink
[#146] Fix failing github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-ap committed Jan 10, 2024
1 parent 5387b7f commit 6eaeb6a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci_4337.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -48,19 +48,19 @@ 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
with:
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
12 changes: 6 additions & 6 deletions .github/workflows/ci_4337_gas_metering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6eaeb6a

Please sign in to comment.