-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Issue #340 - Feature: CI(Github Actions) - Performs linting, formatting, and type-checking #432
Issue #340 - Feature: CI(Github Actions) - Performs linting, formatting, and type-checking #432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See Comments.
Thank You @ayushtiwari110, You have done amazing job : )
Here are some reference you can take help from :
Ping me. If you need any help :) cc : @benjagm thoughts : ) |
Thanks everyone for the great work here. As soon as @aialok approves I'd do my review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See Comments. Other than this everything look good to me.
Can you please change the workflow file name to pull-request.yml. It will make more sense as we are using same naming convention in other workflow too.
Thank you @ayushtiwari110 : )
my bad....I forget to click on add comment : ( |
@aialok I have changed the workflow file name as per conventions. Kindly check. |
I guess the cache process for installation of dependencies must be same for npm and yarn? Could you please clarify once |
Ok well I got it, The modules path will be different for yarn. I'll update the requested changes... |
https://github.com/actions/cache/blob/main/examples.md#node---yarn you can check out this : ) |
for next build, shall i cache both the build files and the node modules? |
@aialok I have added the cache for next build, and have done the requested changes. Kindly check the same. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ayushtiwari110 see comments. Other than this everything LGTM : )
Thank You so much @ayushtiwari110 . It was really fun working with you.
cc : @benjagm please review : )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job with this one! Let's merge it!
Is this resolving #340? |
Thank @DarhkVoyd for your review. But this will not happen because when you run yarn add without the --frozen-lock flag, Yarn will update the yarn.lock file if it needs to install new dependencies or update existing ones to satisfy the package requirements specified in package.json. This can lead to the yarn.lock file being modified, potentially causing discrepancies between development environments. By using the --frozen-lock flag, you are essentially telling Yarn not to update the yarn.lock file during the installation process. This ensures that the exact versions of dependencies specified in the yarn.lock file are used, maintaining consistency across different environments and preventing unintended changes to dependencies. As we are installing dependencies locally and then pushing them to GitHub, we already have an updated version of the If you have any question feel free to ping me : ) |
Got it, my bad. |
What kind of change does this PR introduce?
Issue Number:
Summary
This PR sets up a CI workflow triggered on pull requests. The workflow includes the following jobs:
Linting and Type-Checking: Ensures code style consistency and catches potential type errors.
Build: Verifies that the project can be successfully built.
The workflow is designed to improve code quality and maintainability by catching potential issues early in the development process.
Does this PR introduce a breaking change?
No, this PR does not introduces breaking changes...