fix: bun.lock is gitignored — use package.json only for Docker cache

bun.lock is in .gitignore so it doesn't exist after checkout.
Dockerfile and workflows now use package.json only for deps caching.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-23 06:52:27 -07:00
parent c44d8d486b
commit ce31cb1853
3 changed files with 10 additions and 16 deletions
+1 -9
View File
@@ -8,14 +8,6 @@ on:
branches: [main]
paths:
- '.github/docker/Dockerfile.ci'
- 'bun.lock'
- 'package.json'
# Build on PRs that change the image (so first PR run has it)
pull_request:
branches: [main]
paths:
- '.github/docker/Dockerfile.ci'
- 'bun.lock'
- 'package.json'
# Manual trigger
workflow_dispatch:
@@ -30,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
# Copy lockfile + package.json into Docker build context
- run: cp bun.lock package.json .github/docker/
- run: cp package.json .github/docker/
- uses: docker/login-action@v3
with: