Skip to content

Commit

Permalink
fix: build storybook in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelxsilva committed Feb 6, 2024
1 parent 38d626d commit 7cba187
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/storybook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,12 @@ jobs:
run: yarn
- name: Install Playwright
run: npx playwright install --with-deps
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006"
- name: Run Storybook tests
run: yarn storybook:test
env:
TARGET_URL: http://localhost:6006

0 comments on commit 7cba187

Please sign in to comment.