improvement(next): bundle and CI cache config (#4478)

- drop redundant turbopack config (Next 16 defaults)
- remove lucide-react/date-fns from optimizePackageImports (built-in defaults)
- enable turbopackFileSystemCacheForBuild for warm CI builds
- disable poweredByHeader
- swap actions/cache for Blacksmith sticky disk on .next/cache
This commit is contained in:
Waleed
2026-05-06 12:30:57 -07:00
committed by GitHub
parent 6d4ffff327
commit bfd0f46119
2 changed files with 5 additions and 12 deletions
+3 -5
View File
@@ -44,13 +44,11 @@ jobs:
key: ${{ github.repository }}-turbo-cache
path: ./.turbo
- name: Restore Next.js build cache
uses: actions/cache@v5
- name: Mount Next.js build cache (Sticky Disk)
uses: useblacksmith/stickydisk@v1
with:
key: ${{ github.repository }}-nextjs-cache
path: ./apps/sim/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-nextjs-
- name: Install dependencies
run: bun install --frozen-lockfile