From 4bc2250b821600d5a9d3bc0d49cff9d1eb228e7c Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 12 Feb 2025 12:12:03 +0100 Subject: [PATCH] ci: add tests job to CI workflow configuration --- .gitea/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index eaead1c..b29b62f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -41,3 +41,22 @@ jobs: run: | cd frontend bun run build + + tests: + name: tests + 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: Tests + run: | + cd frontend + bun test