Add Gitea CI checks and builds (Refs #100)
CI / checks (push) Successful in 5m19s

This commit is contained in:
2026-10-09 16:09:00 -04:00
parent 16469e2d43
commit 5cf284f413
2 changed files with 50 additions and 0 deletions
+9
View File
@@ -83,6 +83,15 @@ npm run test:agent
npm run build
```
The [Gitea Actions workflow](../../.gitea/workflows/ci.yml) runs these checks on
every push and pull request after `npm ci`. It uses a Node.js 22 Debian container
with Python 3 and native build tools for `better-sqlite3`. The runner must support
Docker jobs with the `ubuntu-latest` label. `npm run check` runs before the tests
to generate the SvelteKit configuration needed in a fresh checkout. Application
tests use two workers in CI to bound resource use for database-heavy fixtures.
The build step runs the same `npm run build` command used by the Dockerfile,
including agent packaging and the report and launch bundles.
Run `npm run format` to apply Prettier formatting before committing. It uses
four-space indentation and a 100-column target for supported source, config and
documentation files, including Svelte components. Python, shell and game scripts