mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user