test: add vitest unit tests and Gitea Actions CI workflow

Covers secrets encryption, Nixpacks runtime-version detection, the
admin-session middleware, and the installations state machine. CI
runs the same build+test steps on every push via .gitea/workflows/ci.yml.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 03:13:04 +02:00
parent 4cf857fd2d
commit ccf6708309
8 changed files with 1191 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
"apps/*"
],
"scripts": {
"dev:server": "npm run dev --workspace apps/server"
"dev:server": "npm run dev --workspace apps/server",
"test": "npm run test --workspace apps/server"
}
}