fix: specify hostname in wait-on in workflow

This commit is contained in:
Bart Stefanski 2023-05-17 19:14:23 +02:00
parent b6737238cd
commit f40b6bc065

View file

@ -29,6 +29,7 @@ jobs:
run: yarn test run: yarn test
- name: Smoke & Acceptance tests - name: Smoke & Acceptance tests
run: | run: |
yarn build-storybook --quiet && npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ yarn build-storybook --quiet
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \ "npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && yarn test-storybook" "npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"