Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
54nd10 committed Jan 5, 2024
1 parent 8fbe815 commit e56eaf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: pull_request

jobs:
component-check:
continue-on-error: true
name: Storybook
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 0 additions & 6 deletions apps/www/scripts/storybook-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,4 @@ import tablemark from 'tablemark'
})
)
console.log(tablemark(componentsStories))
const componentsWithoutStories = componentsStories.filter((c) => c.hasStory === '❌').length
if (componentsWithoutStories > 0) {
throw new Error(
`${componentsWithoutStories} component${componentsWithoutStories > 1 ? 's are' : ' is'} missing a storybook file`
)
}
})()

0 comments on commit e56eaf6

Please sign in to comment.