Add health status check (#58)

* set Health value to Status if existent

Check if Health has any value and save it to be displayed.
If Health is empty, continue as normal.

* add healthy and unhealthy status to be displayed

Check if status is either Running or Healthy to set span class to bg-primary,
and check if status is Unhealthy to set span class to bg-danger.

* Add lint to workflow

* Fix lint

---------

Co-authored-by: Thales <thcd@cock.li>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
This commit is contained in:
ThalesC
2023-11-18 02:27:39 -03:00
committed by GitHub
parent 8c4004f32d
commit a488518f6e
3 changed files with 11 additions and 3 deletions

View File

@@ -48,5 +48,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
# more things can be add later like tests etc..