ci: fix `wait-on` call in CI for storybook test

This is required in Node 18 and is never signalled at all. It causes the
script to hang indefinitely otherwise.
This commit is contained in:
Rickard Andersson 2023-08-03 13:53:16 +03:00
parent 8fa1a3f719
commit 1fc337d04f
1 changed files with 1 additions and 1 deletions

View File

@ -48,4 +48,4 @@ jobs:
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"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"