feat: multi-stage Docker build + SRD/DC test fixtures for CI #9

Merged
brad merged 1 commit from feat/docker-ci into main 2026-02-23 14:57:10 -08:00
Owner
  • Dockerfile: multi-stage build so docker build compiles TypeScript
    inside the container (no host-side npm run build needed)
  • .dockerignore: allow src/ and tsconfig.json for build stage, exclude
    stale dist/
  • tests/fixtures/: 28 SRD fixture files covering all 24 entity kinds,
    3 table types, fluff, and Dungeon Church homebrew (Mildred Magpie,
    Intoxicated condition, Elfmarked race, Abraxas deity, etc.)
  • tests/loader.test.ts: new "loadAll against SRD fixtures" suite (47
    tests) and "loadHomebrew against Dungeon Church fixtures" suite (7
    tests) that run in CI without live data
  • Fix "loadAll against live data" suite: use describe.skipIf so it
    properly skips in CI instead of failing with empty results

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Closes #8

- Dockerfile: multi-stage build so `docker build` compiles TypeScript inside the container (no host-side `npm run build` needed) - .dockerignore: allow src/ and tsconfig.json for build stage, exclude stale dist/ - tests/fixtures/: 28 SRD fixture files covering all 24 entity kinds, 3 table types, fluff, and Dungeon Church homebrew (Mildred Magpie, Intoxicated condition, Elfmarked race, Abraxas deity, etc.) - tests/loader.test.ts: new "loadAll against SRD fixtures" suite (47 tests) and "loadHomebrew against Dungeon Church fixtures" suite (7 tests) that run in CI without live data - Fix "loadAll against live data" suite: use describe.skipIf so it properly skips in CI instead of failing with empty results Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Closes #8
feat: multi-stage Docker build + SRD/DC test fixtures for CI
Some checks failed
CI / lint-test-build (pull_request) Has been cancelled
Notify Cybersyn / notify (push) Successful in 3s
CI / lint-test-build (push) Successful in 1m31s
88243e8220
- Dockerfile: multi-stage build so `docker build` compiles TypeScript
  inside the container (no host-side `npm run build` needed)
- .dockerignore: allow src/ and tsconfig.json for build stage, exclude
  stale dist/
- tests/fixtures/: 28 SRD fixture files covering all 24 entity kinds,
  3 table types, fluff, and Dungeon Church homebrew (Mildred Magpie,
  Intoxicated condition, Elfmarked race, Abraxas deity, etc.)
- tests/loader.test.ts: new "loadAll against SRD fixtures" suite (47
  tests) and "loadHomebrew against Dungeon Church fixtures" suite (7
  tests) that run in CI without live data
- Fix "loadAll against live data" suite: use describe.skipIf so it
  properly skips in CI instead of failing with empty results

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
brad merged commit 88243e8220 into main 2026-02-23 14:57:10 -08:00
brad deleted branch feat/docker-ci 2026-02-23 14:57:11 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dungeonchurch/5e-tools-mcp!9
No description provided.