mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor: Add storybook + initial story (#118)
This hooks up `storybook`, which the front-end team has enjoyed using in the v1 codebase - it makes it quick and easy to view and test components in isolation. The `<LoadingButton />` has a simple story added now, so if you run `yarn storybook`, you can preview it in various states:  This will be helpful as we bring more front-end devs to help build v2 out.
This commit is contained in:
@@ -198,6 +198,9 @@ jobs:
|
||||
- run: yarn build
|
||||
working-directory: site
|
||||
|
||||
- run: yarn storybook:build
|
||||
working-directory: site
|
||||
|
||||
- run: yarn test:coverage
|
||||
working-directory: site
|
||||
|
||||
|
||||
Reference in New Issue
Block a user