Skip to content
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

Feat/ci checks #26

Merged
merged 9 commits into from
Sep 16, 2024
Merged

Feat/ci checks #26

merged 9 commits into from
Sep 16, 2024

Conversation

HunnySajid
Copy link
Collaborator

Ticket: #23
Addes Precommit (Husky) and Github workflow for:
Prettier format check
Eslint linting
Typescript typecheck
Vitest test run

@HunnySajid
Copy link
Collaborator Author

I think husky should be in place but can be skipped if neccessary.

Just make .husky/pre-commit file empty and it would not run checks locally.

@HunnySajid
Copy link
Collaborator Author

@lenkan can you please review/merge this ?

Copy link
Collaborator

@2byrds 2byrds left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lenkan lenkan left a comment

Choose a reason for hiding this comment

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

Nice work @HunnySajid . Good to have some sanity checks here.

I have added some comments of what I think should change and some questions.

.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
tsconfig.json Show resolved Hide resolved
Copy link
Collaborator Author

@HunnySajid HunnySajid left a comment

Choose a reason for hiding this comment

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

@lenkan Thanks for your feedback.
I have updated workflow to have single job, prettier to format all (except example folder), and build confit to emit code.

@HunnySajid HunnySajid requested a review from lenkan September 12, 2024 18:47
Copy link
Contributor

@lenkan lenkan left a comment

Choose a reason for hiding this comment

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

Perfect. Sorry, I missed one thing before regarding the formatting check. See the comment. :)

.github/workflows/main.yml Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@HunnySajid
Copy link
Collaborator Author

Perfect. Sorry, I missed one thing before regarding the formatting check. See the comment. :)

Thanks for the keen eye, i have updated the command

@HunnySajid
Copy link
Collaborator Author

@2byrds can you please merge this?

@2byrds 2byrds merged commit 448b5fe into WebOfTrust:main Sep 16, 2024
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