Skip to content

Commit

Permalink
build: run all tests on commit, remove explicit register for storyboo…
Browse files Browse the repository at this point in the history
…k console addon
  • Loading branch information
nerdyman committed Oct 3, 2022
1 parent ce05fff commit aad82e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const codesandbox = require('remark-codesandbox');
const storybookConfig = {
addons: [
'@storybook/addon-links',
'@storybook/addon-console',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/jest',
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "lint-staged && yarn test"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"pretty-quick --staged",
"eslint --fix",
"yarn test"
"eslint --fix"
]
},
"np": {
Expand Down

0 comments on commit aad82e3

Please sign in to comment.