Skip to content

Commit

Permalink
feat: enable chromatic in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelxsilva committed Feb 22, 2024
1 parent c2d3d3b commit eeb9ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/storybook-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
run: yarn storybook:build --quiet
- name: Serve Storybook and run tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
npx concurrently -k -s first -n "Storybook Build,Storybook Test" -c "auto" \
"npx http-server storybook-static --port 6006 --silent" \
"npx wait-on http-get://127.0.0.1:6006 && yarn storybook:test"
"npx wait-on http-get://127.0.0.1:6006 && test-storybook"
chromatic-flow: // temporarily disabled
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"version:patch": "npm version patch",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build",
"storybook:test": "test-storybook"
"storybook:test": "yarn storybook:build; npx concurrently -k -s first -n \"Storybook Build,Storybook Test\" -c \"auto\" \"npx http-server storybook-static --port 6006 --silent \" \"npx wait-on http-get://127.0.0.1:6006 && test-storybook \""
},
"lint-staged": {
"*.{ts,tsx}": [
Expand Down

0 comments on commit eeb9ed2

Please sign in to comment.