Skip to content

Commit

Permalink
chore: set up storybook on separate ports
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 7ff3748 commit 1782897
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
- run: npm ci
name: Install dependencies

- run: npm run build:storybook --quiet --port 9009
name: Build Storybook

- run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server docs --port 6006 --silent" \
"npx wait-on tcp:6006 && npm run test:storybook -- --coverage"
"npx http-server docs --port 9009 --silent" \
"npx wait-on tcp:9009 && npm run test:storybook -- --coverage"
name: Run tests with coverage
- uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 1782897

Please sign in to comment.