Skip to content

Commit

Permalink
Fix CI storybook hang
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 committed Mar 28, 2024
1 parent 35695c4 commit 8279122
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ jobs:
- name: Install Playwright
run: npx playwright install

- name: Build storybook
run: npm run build-storybook

- name: Test
run: npm run test-storybook:ci

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test-vite:watch": "vitest --watch",
"test-storybook": "test-storybook --browsers firefox",
"test-storybook:coverage": "npm run test-storybook -- --coverage",
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && npm run test-storybook:coverage\"",
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && npm run test-storybook:coverage\"",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"storybook": "storybook dev -p 6006",
Expand Down

0 comments on commit 8279122

Please sign in to comment.