coopsoc / website

https://coopsoc.com.au
7 stars 5 forks source link

Add formatting, linting and CI #57

Closed lhvy closed 10 months ago

lhvy commented 10 months ago

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.