revert(ci): drop turbopackFileSystemCacheForBuild and restore actions/cache (#4500)

Build times grew monotonically from ~200s to 1305s (~6x) after #4478 landed.
The Turbopack FS cache flag combined with sticky-disk persistence caused
unbounded cache growth. Reverting both — keeping the poweredByHeader and
optimizePackageImports trim from the original PR.
This commit is contained in:
Waleed
2026-05-07 14:37:37 -07:00
committed by GitHub
parent 401ebccafd
commit b045eae606
2 changed files with 5 additions and 4 deletions
+5 -3
View File
@@ -44,11 +44,13 @@ jobs:
key: ${{ github.repository }}-turbo-cache
path: ./.turbo
- name: Mount Next.js build cache (Sticky Disk)
uses: useblacksmith/stickydisk@v1
- name: Restore Next.js build cache
uses: actions/cache@v5
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
-1
View File
@@ -98,7 +98,6 @@ const nextConfig: NextConfig = {
experimental: {
optimizeCss: true,
preloadEntriesOnStart: false,
turbopackFileSystemCacheForBuild: true,
optimizePackageImports: [
'lodash',
'framer-motion',