Skip to content

Commit

Permalink
fix(ci): migrate to husky 9.x (#22270)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar authored Feb 21, 2024
1 parent 550b21e commit 05ee2b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"yargs": "~17.7.0"
},
"scripts": {
"prepare": "husky install && npm run gentypes && npm run build",
"prepare": "(husky || true) && npm run gentypes && npm run build",
"diff": "node --loader=ts-node/esm --no-warnings=ExperimentalWarning scripts/diff.ts",
"unittest": "NODE_ENV=test c8 mocha index.test.ts --recursive \"{,!(node_modules)/**}/*.test.ts\"",
"coverage": "c8 report -r lcov && open-cli coverage/lcov-report/index.html",
Expand Down

0 comments on commit 05ee2b8

Please sign in to comment.