ci(test): 添加提交时测试

This commit is contained in:
randy 2023-04-20 17:40:16 +08:00
parent 78b463ec0d
commit 6e20517019
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-commit": "lint-staged && test",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
}
}

View File

@ -1,3 +1,3 @@
export * from "./utils/permission";
console.log("index");
console.log("index")