This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user