Skip to content

Commit 4430c04

Browse files
AtishayMsftatisjai
andauthored
Fix serve port (#192)
Co-authored-by: Atishay Jain (from Dev Box) <[email protected]>
1 parent 02ed3e5 commit 4430c04

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/plotlyTestCoverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ jobs:
107107
yarn
108108
109109
- name: Start test app in background
110+
shell: bash
110111
run: |
111112
cd contrib_repo/apps/plotly_examples
112113
yarn build
113-
nohup npx -y serve -s build > output.log 2>&1 &
114+
nohup npx -y serve -s build -l 3000 > output.log 2>&1 &
114115
npx wait-on http://localhost:3000/ --timeout 300000
115116
116117
- name: Run Playwright test script

.github/workflows/plotlyTestCoverage_v9.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,12 @@ jobs:
106106
yarn
107107
108108
- name: Start test app in background
109+
shell: bash
109110
run: |
110111
cd contrib_repo/apps/plotly_examples
111112
yarn build
112-
nohup npx -y serve -s build > output.log 2>&1 &
113-
npx wait-on http://localhost:3000/ --timeout 300000
113+
nohup npx -y serve -s build -l 3000 > output.log 2>&1 &
114+
npx wait-on http://localhost:3000/ --timeout 300000
114115
115116
- name: Run Playwright test script
116117
run: |

0 commit comments

Comments
 (0)