fix: run tests inside node:20-slim container #30

Merged
elvis merged 3 commits from feat/cicd_improvements into main 2026-05-28 19:15:39 +00:00
Owner

The host runner has no npm. Fixes this by running the full test pipeline inside a node:20-slim container — including the git clone — so there's no dependency on the host having Node installed.

Also installs git, python3, make, and g++ in the container since better-sqlite3 (a transitive dependency) requires native compilation.

The separate checkout step is removed since the clone now happens inside the container.

🤖 Generated with Claude Code

The host runner has no npm. Fixes this by running the full test pipeline inside a `node:20-slim` container — including the git clone — so there's no dependency on the host having Node installed. Also installs `git`, `python3`, `make`, and `g++` in the container since `better-sqlite3` (a transitive dependency) requires native compilation. The separate checkout step is removed since the clone now happens inside the container. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: run tests inside node:20-slim container
Some checks failed
Test / test (pull_request) Failing after 4m44s
6c77616867
The host runner has no npm. Clone and test inside a Node container
that also has the build tools needed for better-sqlite3.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: skip SSL verification for git clone in test container
All checks were successful
Test / test (pull_request) Successful in 7m15s
f7d812ca54
node:20-slim has no CA certificates so git cannot verify the
self-hosted Forgejo server cert.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge branch 'main' into feat/cicd_improvements
All checks were successful
Test / test (pull_request) Successful in 7m47s
d9811ec019
elvis merged commit 483aef3557 into main 2026-05-28 19:15:39 +00:00
elvis deleted branch feat/cicd_improvements 2026-05-28 19:15:39 +00: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
elvis/actual-mcp!30
No description provided.