mlco2 / codecarbon

Track emissions from Compute and recommend ways to reduce their impact on the environment.
https://mlco2.github.io/codecarbon
MIT License
1.11k stars 173 forks source link

ci(ui): setup ci for the ui + prettier #652

Closed inimaz closed 3 weeks ago

inimaz commented 3 weeks ago

⚠️ Needs https://github.com/mlco2/codecarbon/pull/651 to be merged before.

3 things in this PR:

  1. Add Prettier for formatting the frontend
  2. Run npx prettier . --write To format all the files of the frontend to the same style.
  3. Add a CI job that tries to install and build the frontend