ci(test): 添加提交时测试
This commit is contained in:
parent
78b463ec0d
commit
6e20517019
|
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"pre-commit": "lint-staged && test",
|
||||
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export * from "./utils/permission";
|
||||
|
||||
console.log("index");
|
||||
console.log("index")
|
||||
|
|
|
|||
Loading…
Reference in New Issue