mirror of
https://github.com/obra/episodic-memory.git
synced 2026-09-14 13:43:14 +08:00
7478e958cd
There is no CI on this repo, so 11 open PRs and 37 open issues carry no
automated signal at all. Add a GitHub Actions workflow that installs, builds
(which typechecks) and runs the vitest suite on Node 22 and 24.
Uses no secrets and requests only contents:read, so a fork PR run is identical
to a run on main. Triggers on plain pull_request rather than
pull_request_target, so fork code never executes with write scope.
Skips one test that cannot pass without API credentials: repairIndex() shells
out to the real Claude Agent SDK summarizer, which has had no usable
credentials in tests since 22a82a5 isolated CLAUDE_CONFIG_DIR (#131). The
remaining 247 tests pass on both Node versions.