Skip to content

[Feature]: CI workflow for lint and production build #4

Description

@rosspeili

One-line summary

Add GitHub Actions to run npm run lint and npm run build on avatar-demo for PRs and main.

Problem / motivation

Roadmap item. Label sync CI exists, but regressions in renderer/Electron packaging inputs can land without automated checks. Contributors need a clear green/red signal before merge.

Proposed solution

  • Workflow .github/workflows/ci.yml on pull_request + push to main.
  • Node 20, npm ci in avatar-demo/, then npm run lint and npm run build.
  • Optional: cache npm; do not run dist:win on every PR (slow / Windows-specific) — separate optional workflow later.
  • Badge on README once stable (optional follow-up).

Alternatives considered

  • Lint-only — better than nothing; build catches Vite/asset graph breaks.
  • Full dist:win on CI — expensive; defer.

Primary surface

Other

Constraints you accept

  • Should stay usable offline / local-first
  • Browser-only mode may remain limited vs Electron

Mock / sketch / reference (optional)

Mirror pattern from other ARPAHLS repos if present; keep YAML minimal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or improvement requestgood first issueGood for newcomers — scoped and approachable

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions