mirror of
https://github.com/hexastack/hexabot
synced 2025-02-02 07:35:38 +00:00
fix: update husky pre-commit hook to set the current year
This commit is contained in:
parent
122a9d02cb
commit
6b56323dc1
@ -16,7 +16,7 @@ run_checks() {
|
|||||||
echo "${BLUE}Running ${path} checks and tests...${NC}"
|
echo "${BLUE}Running ${path} checks and tests...${NC}"
|
||||||
cd ./${path}
|
cd ./${path}
|
||||||
npm run typecheck
|
npm run typecheck
|
||||||
npm run lint
|
npx lint-staged
|
||||||
if [ "$path" = "api" ]; then
|
if [ "$path" = "api" ]; then
|
||||||
npm run test:half # Run API specific tests
|
npm run test:half # Run API specific tests
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user