Skip to Content
GuideQuality Assurance

Quality Assurance

Orbitus includes configured tools to ensure code quality and performance standards are met.

Lighthouse CI

We use Lighthouse CI  to enforce performance budgets and web best practices.

Configuration

The configuration files are located in:

  • apps/website/lighthouserc.cjs (Runs on port 3000)
  • apps/portal/lighthouserc.cjs (Runs on port 3001)

Running Locally

You can run Lighthouse audits locally to verify your changes before pushing.

npm run perf

This command runs lhci autorun, which builds the applications and runs Lighthouse audits against them.

[!NOTE] Some strict assertions (like unused-javascript or bf-cache) are currently set to warn to allow the CI pipeline to pass while flagging potential improvements.

Type Coverage

We use type-coverage  to check the percentage of strictly typed code in the project.

Running the Check

To check the type coverage for all packages in the monorepo:

npm run type-coverage

The current target threshold is 95%. If the coverage drops below this value, the command will fail.

Last updated on