From 43db82da8fd999aad2c6b1ab6371e13e1be5f0a8 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Thu, 13 Feb 2025 11:00:53 +0100 Subject: [PATCH] ci: add eslint job to CI workflow --- .gitea/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index eaead1c..b1eaab8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,6 +4,25 @@ on: pull_request: jobs: + eslint: + name: eslint + runs-on: vps-4 + container: + image: catthehacker/ubuntu:act-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + - name: Install bun + uses: oven-sh/setup-bun@v2 + - name: Install dependencies + run: | + cd frontend + bun install + - name: Run Eslint + run: | + cd frontend + bun run lint + prettier: name: prettier runs-on: vps-4