From 4249a1ccd2ae25fe753e1f3a269e1a78e00eda36 Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Fri, 17 May 2024 18:05:01 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=9B=B9=20=EC=A0=91=EA=B7=BC?= =?UTF-8?q?=EC=84=B1=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=9B=8C=ED=81=AC?= =?UTF-8?q?=ED=94=8C=EB=A1=9C=EC=9A=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/a11y-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/a11y-test.yml b/.github/workflows/a11y-test.yml index c6f34d18..a0f61c67 100644 --- a/.github/workflows/a11y-test.yml +++ b/.github/workflows/a11y-test.yml @@ -34,15 +34,18 @@ jobs: run: pnpm dlx playwright install --with-deps working-directory: packages/wow-ui - - name: Serve Storybook - run: nohup pnpm storybook & + - name: Start Storybook + run: | + nohup pnpm storybook & + sleep 10 + curl --retry 10 --retry-connrefused http://localhost:6006 working-directory: packages/wow-ui - name: Run tests run: pnpm test-storybook working-directory: packages/wow-ui - - name: Kill pnpm storybook process + - name: Kill Storybook process run: | PID=$(ps -ef | grep "pnpm storybook" | grep -v grep | awk '{print $2}') if [ -n "$PID" ]; then