Skip to content

Commit 328307c

Browse files
committed
⚙️: update file name
1 parent 609fd9e commit 328307c

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/setup-node/action.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,26 @@ runs:
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

0 commit comments

Comments
 (0)