Skip to content

Add CI (GitHub Actions): run tests + typecheck on every push/PR #4

Description

@infralayers

Goal

Right now nothing verifies npm test / npm run typecheck stay green except a human running them locally. A CI badge is also a real, visible OSS-credibility signal for the repo.

Steps

  1. Add .github/workflows/ci.yml that, on every push and PR to main:
    • checks out the repo
    • sets up Node (use the same major version as local dev: Node 20)
    • runs npm install
    • runs npm run typecheck
    • runs npm test
  2. Push a branch and open a throwaway PR to confirm the workflow actually runs and reports status
  3. Add the workflow status badge to the root README.md

Definition of done

A PR shows a green (or correctly red, if you intentionally break something to test) CI check. Badge visible in README.

Suggested owner: good starter task for whoever wants something more mechanical/lower-risk first — no MV3 domain knowledge needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions