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