Skip to content

Commit

Permalink
Update storybook config
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjopa committed Jan 24, 2021
1 parent d5a80eb commit e5b636d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yml
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
paths: ["src/**", "README.md"]
paths: ["src/**", ".storybook/**", "README.md"]

jobs:
ci:
Expand Down
11 changes: 10 additions & 1 deletion .storybook/main.js
Expand Up @@ -3,7 +3,16 @@ module.exports = {
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)",
],
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
addons: [
"@storybook/addon-links",
{
name: "@storybook/addon-essentials",
options: {
controls: false,
actions: false,
},
},
],
typescript: {
reactDocgenTypescriptOptions: {
compilerOptions: {
Expand Down

0 comments on commit e5b636d

Please sign in to comment.