Skip to content

Add GitHub Actions CI workflow for build verification and type checking #4

Description

@Dessiidoo

Summary

The repository currently has no continuous integration configuration. For enterprise buyers, defense contractors, and SBIR reviewers evaluating this IP, the absence of a passing CI badge is a credibility gap. A green build badge on the README signals that the codebase is in a known-good state and that the project is maintained to a professional standard.

Requested Enhancement

Create a .github/workflows/ci.yml GitHub Actions workflow that:

  1. Triggers on push to main and on all pull requests
  2. Runs on ubuntu-latest with Node.js 18.x and 20.x (matrix)
  3. Executes the following steps:
    • npm ci — clean dependency install
    • npm run build — Vite production build verification
    • TypeScript type checking via tsc --noEmit (or equivalent npm script)
  4. Reports build status so the README badge reflects a live passing/failing state
  5. Optionally: runs drizzle-kit check against a test DATABASE_URL secret if one is configured

The workflow file should include comments explaining each step for maintainability.

Additional Suggestion

Once the workflow is passing, add the GitHub Actions build badge to the README.md ![CI](https://github.com/Dessiidoo/AdaptiveArmorSystem/actions/workflows/ci.yml/badge.svg) so it is visible to all repository visitors.

Why This Matters

A passing CI badge is one of the first signals an enterprise technical evaluator checks. It demonstrates that the build is reproducible, the TypeScript types are valid, and the project is not abandoned. For a $15,000–$250,000 IP asset, this is a trivially small investment with significant credibility return.

Acceptance Criteria

  • .github/workflows/ci.yml exists
  • Workflow runs on push to main and on PRs
  • Build step passes cleanly
  • TypeScript type check step passes cleanly
  • Build status badge is added to README.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions