Skip to content

ci: add pre-push hook for lint and test checks#538

Open
hashhhh-16 wants to merge 3 commits into
niharika-mente:mainfrom
hashhhh-16:ci/pre-push-hook
Open

ci: add pre-push hook for lint and test checks#538
hashhhh-16 wants to merge 3 commits into
niharika-mente:mainfrom
hashhhh-16:ci/pre-push-hook

Conversation

@hashhhh-16

Copy link
Copy Markdown
Contributor

Summary

Adds a Husky pre-push hook that runs the frontend test suite before allowing a push.

Changes

  • Added Husky prepare script in root package.json
  • Added .husky/pre-push
  • Runs frontend tests using Vitest before push

Verification

  • Verified that the pre-push hook executes successfully
  • All frontend tests pass locally (17/17 tests passing)

closes #465

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the niharika-mente's projects Team on Vercel.

A member of the Team first needs to authorize it.

Aamod007
Aamod007 previously approved these changes Jul 2, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aamod007 Aamod007 self-requested a review July 2, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add a pre-push Git hook to run the test suite locally

2 participants