From df89066f3b66ceb48973e64838efdb4377a6f2f0 Mon Sep 17 00:00:00 2001 From: Space-Banane Date: Sun, 19 Apr 2026 17:20:17 +0200 Subject: [PATCH] added vitest as a CI/CD job --- .gitea/workflows/ci.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cbfad94..304e6b6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,6 +9,28 @@ on: - '.gitea/workflows/**' jobs: + vitests: + runs-on: ubuntu-latest + steps: + - name: ๐Ÿ— Setup repo + uses: actions/checkout@v2 + + - name: ๐Ÿ— Setup Node + uses: actions/setup-node@v2 + with: + node-version: 22 + + - name: ๐Ÿ— Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: latest + + - name: ๐Ÿ“ฆ Install dependencies + run: pnpm install + + - name: ๐Ÿงช Run vitests + run: pnpm test + build-android: runs-on: ubuntu-latest steps: @@ -103,7 +125,7 @@ jobs: release: runs-on: ubuntu-latest - needs: [build-android, build-web] + needs: [build-android, build-web, vitests] steps: - name: ๐Ÿ— Setup repo uses: actions/checkout@v2