diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index b35638a..9ac13dc 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -45,6 +45,22 @@ $ npx gulp dev After debugging, run the command `npx gulp` (without any argument) will automatically output the compressed files to the directory `assets/js/dist/`. +## Verify the commit messages + +If you want to make sure your commits pass the CI check, you can refer to the following steps. + +Install `commitlint` & `husky`: + +```console +$ npm i -g @commitlint/{cli,config-conventional} husky +``` + +And then enable `husky`: + +```console +$ husky install +``` + --- :tada: Your volunteering will make the open-source world more beautiful, thanks again! :tada: