From 3363ef52efa777b88d5477ab52431088281e0390 Mon Sep 17 00:00:00 2001 From: Avnyr Date: Wed, 7 Jan 2026 21:09:49 +0100 Subject: [PATCH] Add CI workflow for backend tests using GitHub Actions --- .gitea/workflows/backend-tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/backend-tests.yml diff --git a/.gitea/workflows/backend-tests.yml b/.gitea/workflows/backend-tests.yml new file mode 100644 index 0000000..079d985 --- /dev/null +++ b/.gitea/workflows/backend-tests.yml @@ -0,0 +1,25 @@ +name: Backend Tests +on: + push: + paths: + - 'backend/**' + pull_request: + paths: + - 'backend/**' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Run Backend Tests + run: pnpm -F @memegoat/backend test