-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Lint and Type check for Pull request #264
Comments
Please assign this issue to me under gssoc 24 |
@mansi104-ai assigned to you. |
@mansi104-ai , can you please share the status? Let me know if you need any help. |
@convoform/api:lint: Pages directory cannot be found at C:\Users\mansi\GSSOC\convoform\ConvoForm\packages\api\pages or C:\Users\mansi\GSSOC\convoform\ConvoForm\packages\api\src\pages. If using a custom path, please configure with the I am getting this error on running workflow , could you please help? I have already tried adding no-html-link-for-pages, but didn't work |
@mansi104-ai , Are you still working on this?, because the PR is showing closed. |
Yes, sir I am working on it |
@mansi104-ai, can you please share the status? |
Is this issue still open? I think you want to do a lint and type check whenever someone opens up a new PR. For that, we can create a new workflow that will run GitHub action whenever someone opens up a new PR against the Let me know if this is what you want or something else. I can pick up the issue. |
@IdrisGit yes, you can do this. I want to create a workflow where we check lint and type checks as same which are being done in local machine before doing commit. This will ensure that if someone skip the pre-commit hook, So still there is not lint or type error in there PR. |
Ok great, I will create a workflow file that will run on every PR raised. I am participating in Hacktoberfest this year, can you add hacktoberfest label to this issue? |
The root "lint": "dotenv -e .env.local -- biome lint --write . --unsafe",
"type-check": "dotenv -e .env.local -- biome check --staged --write . --unsafe --no-errors-on-unmatched", However, these scripts are not suitable for CI checks as they use the I am almost done with the changes and will raise the PR soon. I am not sure about the script names that I have added. Please provide suggestions for those in the PR or any other changes. |
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
The text was updated successfully, but these errors were encountered: