File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
4242
4343 - name : Install dependencies
44- run : npm ci
45-
46- - name : Ensure parcel watcher native prebuilds are present
47- run : |
48- # Some runners skip optional native prebuilds; force-install platform build for @parcel/watcher
49- npm ls @parcel/watcher || npm install @parcel/watcher --no-save || true
50- npm rebuild @parcel/watcher || true
51- # Force install platform-specific prebuilt binary as a fallback
52- npm install @parcel/watcher-linux-x64-glibc --no-save || true
53- npm rebuild @parcel/watcher --build-from-source || true
54-
55- - name : Ensure @swc/core native binding is present
56- run : |
57- # Try to rebuild @swc/core native binaries
58- npm rebuild @swc/core || true
59- # Fallback: install platform-specific prebuilt package
60- npm install @swc/core-linux-x64-gnu --no-save || true
61- # Final safety: rebuild all native modules
62- npm rebuild || true
44+ run : npm ci --include=optional
6345
6446 - name : Build with Next.js
6547 run : npm run build
You can’t perform that action at this time.
0 commit comments