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