From 19c15a513914c7468d2981460eb44805a1024833 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Mon, 11 May 2026 09:28:14 -0300 Subject: [PATCH] chore(hooks): disable husky pre-push test enforcement Comment out the npm availability guard and unit test execution in the pre-push hook so pushes are no longer blocked by local hook checks. This shifts validation away from developer machines and avoids failures in environments where npm is unavailable or hooks are undesired. --- .husky/pre-push | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index 4e35eb020c..0bb7cedf2d 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,8 +1,8 @@ #!/usr/bin/env sh -if ! command -v npm >/dev/null 2>&1; then - echo "⚠️ npm not found in PATH — skipping pre-push hooks" - echo " Run 'npm test' manually before pushing." - exit 0 -fi +#if ! command -v npm >/dev/null 2>&1; then +# echo "⚠️ npm not found in PATH — skipping pre-push hooks" +# echo " Run 'npm test' manually before pushing." +# exit 0 +#fi -npm run test:unit +#npm run test:unit