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

Add formatting, linting and CI #57

Merged
merged 2 commits into from
Jan 17, 2024
Merged

Add formatting, linting and CI #57

merged 2 commits into from
Jan 17, 2024

Conversation

lhvy
Copy link
Collaborator

@lhvy lhvy commented Jan 17, 2024

Formatting done with Prettier, linting was already setup with ESLint but has now been integrated with Prettier. I have added a GitHub action to setup Node, install dependencies, run linting (which includes formatting checks) and attempt to build. Nice changes for the future would be adding TSC, tests (which I have added to the action but commented out) and caching the CI so that future runs are faster.

I expect that the next run should fail CI, since I have not formatted the code yet. I will do that now.

@lhvy lhvy added the enhancement New feature or request label Jan 17, 2024
@lhvy lhvy self-assigned this Jan 17, 2024
Copy link
Collaborator

@scorpiontornado scorpiontornado left a comment

Choose a reason for hiding this comment

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

Looks good

@lhvy lhvy merged commit ebeb365 into main Jan 17, 2024
1 check passed
@lhvy lhvy deleted the ci branch January 17, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants