Skip to content

Commit 65c90ab

Browse files
committed
remove port conflict
1 parent fd571f5 commit 65c90ab

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -144,25 +144,6 @@ jobs:
144144
- name: Install Playwright
145145
run: npx playwright install chromium
146146

147-
- name: Test server availability
148-
run: |
149-
# Start the server in background
150-
npx serve -l 4200 . &
151-
SERVER_PID=$!
152-
echo "Server started with PID: $SERVER_PID"
153-
154-
# Wait for server to start
155-
sleep 5
156-
157-
# Test if server is running and files are accessible
158-
echo "Testing server endpoints:"
159-
curl -I http://localhost:4200/test-widget-embed || echo "Failed to access test-widget-embed"
160-
curl -I http://localhost:4200/dist/widget.umd.js || echo "Failed to access widget.umd.js"
161-
curl -I http://localhost:4200/dist/style.css || echo "Failed to access style.css"
162-
163-
# Kill the test server
164-
kill $SERVER_PID
165-
166147
- name: Run widget tests
167148
run: npm run test:ci:only
168149

0 commit comments

Comments
 (0)