Skip to content

Commit

Permalink
chore: fix storybook out dir
Browse files Browse the repository at this point in the history
Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
  • Loading branch information
iamnewton committed Nov 10, 2024
1 parent 81117d7 commit 24746ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 24746ff

Please sign in to comment.