File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
.github/workflows/setup-node Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1818 - name : Install dependencies 🔧
1919 shell : bash
2020 if : steps.cache_dependencies.outputs.cache-hit != 'true'
21- run : npm ci
21+ run : npm ci
22+
23+ - name : Validate JSON files 📋
24+ shell : bash
25+ run : |
26+ find . -type f -name "*.json" -exec echo "Validating {}" \; -exec jq empty {} \;
27+
28+ - name : Build with detailed logging 🏗️
29+ shell : bash
30+ run : |
31+ export NODE_OPTIONS="--max-old-space-size=4096"
32+ npm run build || {
33+ echo "Build failed. Checking for common issues..."
34+ echo "Contents of .next/server directory:"
35+ ls -la .next/server || true
36+ echo "Last 100 lines of build log:"
37+ tail -n 100 .next/build-manifest.json || true
38+ exit 1
39+ }
40+
41+ - name : Type check 📝
42+ shell : bash
43+ run : npm run type-check || true
You can’t perform that action at this time.
0 commit comments