Skip to content

Commit 7c0b99b

Browse files
committed
adjust wait-on call
1 parent 64e68dd commit 7c0b99b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ jobs:
9090
working-directory: packages/cli
9191
run: yarn try:init:empty
9292
93-
- name: Pre-build custom questions library
94-
working-directory: packages/cli/testproject-empty
95-
run: npm run build:lib
96-
9793
- name: Start studio mode for custom questions workflow
9894
working-directory: packages/cli/testproject-empty
9995
run: |
@@ -103,14 +99,10 @@ jobs:
10399
sleep 5
104100
echo "Checking if studio process is still running..."
105101
ps -p $STUDIO_PID || echo "WARNING: Studio process already exited"
106-
echo "Process tree:"
107-
pstree -p $STUDIO_PID || ps -ef | grep -E "(studio|$STUDIO_PID)" || true
108-
echo "Checking for node processes:"
109-
ps aux | grep node | grep -v grep || echo "No node processes found"
110102
echo "First 50 lines of studio log:"
111103
head -50 studio.log || echo "No log file yet"
112104
echo "Waiting for studio server to be ready..."
113-
npx wait-on http://localhost:7174 --timeout 60000 || (echo "wait-on failed, showing full log:" && cat studio.log && exit 1)
105+
node_modules/.bin/wait-on http://localhost:7174 --timeout 60000 || (echo "wait-on failed, showing full log:" && cat studio.log && exit 1)
114106
115107
- name: Run custom questions studio mode tests
116108
working-directory: packages/cli

0 commit comments

Comments
 (0)