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
Mock / sketch / reference (optional)
Mirror pattern from other ARPAHLS repos if present; keep YAML minimal.
One-line summary
Add GitHub Actions to run
npm run lintandnpm run buildonavatar-demofor 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
.github/workflows/ci.ymlonpull_request+pushtomain.npm ciinavatar-demo/, thennpm run lintandnpm run build.dist:winon every PR (slow / Windows-specific) — separate optional workflow later.Alternatives considered
dist:winon CI — expensive; defer.Primary surface
Other
Constraints you accept
Mock / sketch / reference (optional)
Mirror pattern from other ARPAHLS repos if present; keep YAML minimal.