Skip to content

Commit 085a9e5

Browse files
committed
tweaks
1 parent 260a942 commit 085a9e5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci-pkg-cli.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,20 @@ jobs:
9393
- name: Start studio mode for custom questions workflow
9494
working-directory: packages/cli/testproject-empty
9595
run: |
96-
npx skuilder studio --no-browser > ../../studio.log 2>&1 &
96+
npx skuilder studio --no-browser > studio.log 2>&1 &
9797
STUDIO_PID=$!
9898
echo "Studio process started with PID: $STUDIO_PID"
9999
sleep 5
100100
echo "Checking if studio process is still running..."
101101
ps -p $STUDIO_PID || echo "WARNING: Studio process already exited"
102+
echo "Process tree:"
103+
pstree -p $STUDIO_PID || ps -ef | grep -E "(studio|$STUDIO_PID)" || true
104+
echo "Checking for node processes:"
105+
ps aux | grep node | grep -v grep || echo "No node processes found"
106+
echo "First 50 lines of studio log:"
107+
head -50 studio.log || echo "No log file yet"
102108
echo "Waiting for studio server to be ready..."
103-
npx wait-on http://localhost:7174 --timeout 120000
109+
npx wait-on http://localhost:7174 --timeout 120000 || (echo "wait-on failed, showing full log:" && cat studio.log && exit 1)
104110
105111
- name: Run custom questions studio mode tests
106112
working-directory: packages/cli
@@ -124,7 +130,7 @@ jobs:
124130
if: failure()
125131
with:
126132
name: studio-log
127-
path: packages/cli/studio.log
133+
path: packages/cli/testproject-empty/studio.log
128134
retention-days: 7
129135
130136
- name: Upload screenshots on failure

0 commit comments

Comments
 (0)