Skip to content

Commit

Permalink
fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv08 committed May 14, 2024
1 parent 96dc288 commit 22b3e9b
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run fmt:global-check
- run: pnpm install
- run: pnpm run fmt:global-check
12 changes: 6 additions & 6 deletions .github/workflows/ci_4337.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
pnpm install
npm run coverage -w modules/4337
- name: Coveralls
uses: coverallsapp/github-action@master
Expand All @@ -29,10 +29,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
pnpm install
npm run test:4337 -w modules/4337
lint:
runs-on: ubuntu-latest
Expand All @@ -41,9 +41,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
pnpm install
npm run lint -w modules/4337
npm run fmt:check -w modules/4337
6 changes: 3 additions & 3 deletions .github/workflows/ci_4337_gas_metering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- name: Install dependencies
run: pnpm install
- run: |
npm run fmt:check -w examples/4337-gas-metering
npm run lint -w examples/4337-gas-metering
npm run build -w examples/4337-gas-metering
pnpm run --filter "@safe-global/safe-modules-example-4337-gas-metering" fmt:check
pnpm run --filter "@safe-global/safe-modules-example-4337-gas-metering" lint
pnpm run --filter "@safe-global/safe-modules-example-4337-gas-metering" build
6 changes: 3 additions & 3 deletions .github/workflows/ci_4337_local_bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
npm run lint -w packages/4337-local-bundler
pnpm install
pnpm run --filter "@safe-global/safe-4337-local-bundler" lint
4 changes: 2 additions & 2 deletions .github/workflows/ci_4337_upstream_bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
pnpm install
npm run test:4337:upstream -w modules/4337
npm run test:4337:upstream -w modules/passkey
28 changes: 14 additions & 14 deletions .github/workflows/ci_passkey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
npm run coverage -w modules/passkey
pnpm install
pnpm run --filter "@safe-global/safe-passkey" coverage
- uses: coverallsapp/github-action@master
with:
path-to-lcov: modules/passkey/coverage/lcov.info
Expand All @@ -28,34 +28,34 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
npm run lint -w modules/passkey
npm run fmt:check -w modules/passkey
npm run build -w modules/passkey
pnpm install
pnpm run --filter "@safe-global/safe-passkey" lint -w
pnpm run --filter "@safe-global/safe-passkey" fmt:check
pnpm run --filter "@safe-global/safe-passkey" build
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
npm run test:4337 -w modules/passkey
pnpm install
pnpm run --filter "@safe-global/safe-passkey" test:4337
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
npm run bench -w modules/passkey
pnpm install
pnpm run run --filter "@safe-global/safe-passkey" bench
4 changes: 2 additions & 2 deletions .github/workflows/ci_passkey_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache: pnpm
cache-dependency-path: package-lock.json
- run: |
npm ci
pnpm install
npm run lint -w examples/4337-passkeys
npm run build -w examples/4337-passkeys
env:
Expand Down

0 comments on commit 22b3e9b

Please sign in to comment.