From 1fc337d04f85fcf15afa89455834a8fef7b1c00a Mon Sep 17 00:00:00 2001 From: Rickard Andersson Date: Thu, 3 Aug 2023 13:53:16 +0300 Subject: [PATCH] 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. --- .github/workflows/ui-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ui-tests.yaml b/.github/workflows/ui-tests.yaml index 7ec8cf31..4aa7e3a2 100644 --- a/.github/workflows/ui-tests.yaml +++ b/.github/workflows/ui-tests.yaml @@ -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"