Skip to content

[chore] Added Husky for Automating Building and Linting Projects Before Push#2032

Merged
sriramveeraghanta merged 4 commits intodevelopfrom
Setup-husky-Pre-Push
Sep 2, 2023
Merged

[chore] Added Husky for Automating Building and Linting Projects Before Push#2032
sriramveeraghanta merged 4 commits intodevelopfrom
Setup-husky-Pre-Push

Conversation

@henit-chobisa
Copy link
Member

Tasks

  • Added Husky as a dependency in workspace root
  • Added Pre-Push Script for Conditionally Building Projects according to changes Introduced.

Before Every Push, in any Branch, husky will run a pre-push script which includes linting and building of the modified project directories, ensuring that no code in any branch of the repository breaks while building. ✌🏼

@vercel
Copy link

vercel bot commented Aug 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
plane ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm
plane-dev ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm
plane-sh ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm
plane-sh-dev ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm
plane-sh-stage ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm
plane-staging ⬜️ Ignored (Inspect) Visit Preview Sep 1, 2023 7:49pm

@Palanikannan1437
Copy link
Member

Tasks

  • Added Husky as a dependency in workspace root
  • Added Pre-Push Script for Conditionally Building Projects according to changes Introduced.

Before Every Push, in any Branch, husky will run a pre-push script which includes linting and building of the modified project directories, ensuring that no code in any branch of the repository breaks while building. ✌🏼

THANK YOU for this @henit-chobisa , sometimes you just forget to build before pushing to just see the CI fail, this is gonna improve the loop so much!!

@sriramveeraghanta sriramveeraghanta merged commit 63d7993 into develop Sep 2, 2023
@sriramveeraghanta sriramveeraghanta deleted the Setup-husky-Pre-Push branch September 2, 2023 08:17
aaryan610 added a commit that referenced this pull request Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants