Skip to content

Commit 9a446e6

Browse files
committed
ci: specify node 20.19.x and add npm debug log dump
1 parent 95388d1 commit 9a446e6

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest, windows-latest]
18-
node-version: ['20.x', '22.x']
18+
node-version: ['20.19.x', '22.x']
1919

2020
steps:
2121
- name: Checkout Repository
@@ -26,9 +26,25 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828

29+
- name: Verify Environment
30+
run: |
31+
node -v
32+
npm -v
33+
2934
- name: Install Dependencies
3035
run: npm install --no-audit
3136

37+
- name: Debug npm Failure
38+
if: failure()
39+
shell: bash
40+
run: |
41+
echo "=== NPM DEBUG LOGS ==="
42+
for dir in "$HOME" "$APPDATA" "$LOCALAPPDATA" "/home/runner" "C:/Users"; do
43+
if [ -d "$dir" ]; then
44+
find "$dir" -name "*debug*.log" -exec cat {} + 2>/dev/null || true
45+
fi
46+
done
47+
3248
- name: Build Frontend Application
3349
run: npm run build:frontend
3450

0 commit comments

Comments
 (0)