dvjsharma / Drawn2Shoe

Drawn2Shoe is a user-friendly e-commerce platform. It offers customers the ability to purchase and personalize their shoes. The platform's intuitive interface ensures seamless navigation and usability across a variety of devices.
MIT License
27 stars 42 forks source link

create a workflow using Git Actions #98

Open mansi104-ai opened 5 months ago

mansi104-ai commented 5 months ago

Feature Description We can create a workflow using Git Actions, this workflow will check Lint errors and Type errors in the changes of Pull request. Checking of Lint and Type errors are already implemented in repo and can be run by below command.

pnpm lint && pnpm type-check

Use Case This feature would check lint errors in the changes of pull request

Benefits Will benefit the contributors of open source as well the maintainer of the repo in checking the issues of the pull request

Priority High

Record -->I agree to follow this project's Code of Conduct -->I'm a GSSOC'24 contributor -->I'm willing to provide further clarification or assistance if needed.

dvjsharma commented 5 months ago

Sure @mansi104-ai. Could you address the current linting errors in the codebase through this ticket as well?

mansi104-ai commented 5 months ago

Sure ,@dvjsharma Also, should I configure it for running manually or through REST API endpoints?

mansi104-ai commented 5 months ago

By running manually , you can see the workflows under Github actions through REST API , it will be visible in CLI

dvjsharma commented 5 months ago

I don’t think REST APIs would be feasible for lint checks. Instead I’ll suggest a workflow yml file to have trigger dispatch (for manual trigger) and run on any new pushes. Also, if you are using any external tool (which requires installation) you can configure that in codebase.

mansi104-ai commented 5 months ago

Okay, I'll make a yml file in workflows folder in .github . It will have the workflow for lint and type errors checking

Please assign this issue to me

dvjsharma commented 5 months ago

Go ahead @mansi104-ai

gopalepic commented 5 months ago

@dvjsharma i have experice with MERN stack + TS + nextjs , is there any issue i should work on

dvjsharma commented 4 months ago

Hey @gopalepic, sorry for late response. There are a lot of high priority issues available currently, please take a look.

gopalepic commented 4 months ago

@dvjsharma thankyou so much , it gives me a ray for contribution in your project

I requested issue #135 Would you pls assign that