From 24746ff24d10532b7c45633135dfc7d9c2b949ba Mon Sep 17 00:00:00 2001 From: Newton <5769156+iamnewton@users.noreply.github.com> Date: Sat, 9 Nov 2024 20:47:02 -0800 Subject: [PATCH] chore: fix storybook out dir Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com> --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4bd7a9..efc83b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,13 +22,13 @@ jobs: - run: npm ci name: Install dependencies - - run: npm run build:storybook --quiet --output-dir=docs + - run: npm run build:storybook --quiet name: Build Storybook - run: | npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ - "npx http-server docs --port 9009 --silent" \ - "npx wait-on tcp:9009 && npm run test:storybook -- --coverage" + "npx http-server storybook-static --port 6006 --silent" \ + "npx wait-on tcp:6006 && npm run test:storybook -- --coverage" name: Run tests with coverage - uses: codecov/codecov-action@v4 @@ -84,12 +84,12 @@ jobs: - run: npx playwright install --with-deps name: Install Playwright - - run: npm run build:storybook --quiet --output-dir=docs + - run: npm run build:storybook --quiet name: Build Storybook - run: | npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ - "npx http-server docs --port 6006 --silent" \ + "npx http-server storybook-static --port 6006 --silent" \ "npx wait-on tcp:6006 && npm run test:storybook" name: Serve Storybook and run tests