Skip to content

Commit

Permalink
"Refactor CI workflow to run fmt:check instead of fmt for @safe-globa…
Browse files Browse the repository at this point in the history
…l/safe-allowance-module"
  • Loading branch information
mmv08 committed Aug 29, 2024
1 parent 516d24f commit 4c9ee80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_allowance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
- run: |
pnpm install
pnpm run --filter "@safe-global/safe-allowance-module" lint
pnpm run --filter "@safe-global/safe-allowance-module" fmt
pnpm run --filter "@safe-global/safe-allowance-module" fmt:check
pnpm run --filter "@safe-global/safe-allowance-module" build
9 changes: 6 additions & 3 deletions modules/allowances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@
"lint": "pnpm run lint:sol && npm run lint:ts",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts": "eslint 'tasks/**/*.ts' 'test/**/*.ts' --max-warnings 0 --fix",
"fmt": "pnpm run fmt:sol && npm run fmt:ts",
"fmt:sol": "prettier 'contracts/**/*.sol' -w",
"fmt:ts": "prettier 'tasks/**/*.ts' 'test/**/*.ts' -w"
"fmt": "pnpm run fmt:sol:write && npm run fmt:ts:write",
"fmt:check": "pnpm run fmt:sol:check && npm run fmt:ts:check",
"fmt:sol:check": "prettier 'contracts/**/*.sol' --check",
"fmt:ts:check": "prettier 'tasks/**/*.ts' 'test/**/*.ts' --check",
"fmt:sol:write": "prettier 'contracts/**/*.sol' --write",
"fmt:ts:write": "prettier 'tasks/**/*.ts' 'test/**/*.ts' --write"
},
"author": "safe-global",
"license": "GPL-3.0",
Expand Down

0 comments on commit 4c9ee80

Please sign in to comment.