Merge branch 'feature/husky-test' into 'release'
Adding husky test run to prepush. See merge request theappsmith/internal-tools-client!197
This commit is contained in:
commit
0a5c904778
|
|
@ -87,7 +87,7 @@
|
||||||
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
||||||
"start": "REACT_APP_ENVIRONMENT=DEVELOPMENT craco start",
|
"start": "REACT_APP_ENVIRONMENT=DEVELOPMENT craco start",
|
||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
"test": "craco test",
|
"test": "CI=true craco test",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"start-prod": "REACT_APP_ENVIRONMENT=PRODUCTION craco start",
|
"start-prod": "REACT_APP_ENVIRONMENT=PRODUCTION craco start",
|
||||||
"storybook": "start-storybook",
|
"storybook": "start-storybook",
|
||||||
|
|
@ -138,7 +138,8 @@
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "lint-staged",
|
||||||
|
"pre-push": "yarn run test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user