fix: override HOME=/home/runner in CI container options

GH Actions always sets HOME=/github/home (a mounted host temp dir)
regardless of Dockerfile USER. Bun uses HOME for temp/cache and can't
write to the GH-mounted dir. Override HOME to the actual runner home.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-23 17:40:49 -07:00
parent cc360f1a4b
commit 9ab90a2778
+1 -1
View File
@@ -62,7 +62,7 @@ jobs:
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --tmpfs /tmp:exec
options: --tmpfs /tmp:exec -e HOME=/home/runner
timeout-minutes: 20
strategy:
fail-fast: false