From 20841ca5173a3fb7f3d40cfb90ca23c87e324116 Mon Sep 17 00:00:00 2001 From: kitadmin Date: Sun, 31 May 2026 01:53:58 +0000 Subject: [PATCH] ci: add Gitea Actions CI workflow Runs server tests (node:test), client tests (vitest), and build verification on every push and PR. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/ci.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..063e4f8 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,16 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '20' + - run: npm ci + - run: npm run test:server + - run: npm run test:client + - run: npx vite build