Skip to content

Commit

Permalink
Use dev ci mode for storybook
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Dec 12, 2023
1 parent c25881f commit 6b14042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/react-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: ./.github/actions/bootstrap
with:
package: react-components
- name: build storybook
run: pnpm run build:storybook
- name: run storybook in dev ci mode
run: pnpm run start:ci
- name: lint
run: pnpm run lint
- name: test
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"lint": "eslint --max-warnings 0 --ext ts,tsx, lib",
"prepack": "pnpm run clean && pnpm run lint && pnpm run --filter {.}... build && pnpm run test",
"start": "pnpm run --filter {.}^... build && sb dev -p 6006 -s test-data",
"start:ci": "pnpm run --filter {.}^... build && sb dev -p 6006 -s test-data --ci",
"test": "karma start karma.conf.js",
"test:coverage": "karma start karma.conf.js --coverage"
},
Expand Down

0 comments on commit 6b14042

Please sign in to comment.