build: tell commitlint to ignore release commits instead of disabling Husky during semantic-release
Esse commit está contido em:
@@ -36,10 +36,7 @@ jobs:
|
||||
- run: npm test
|
||||
- run: npm run build
|
||||
- deploy_gh_pages
|
||||
- run:
|
||||
command: npx semantic-release
|
||||
environment:
|
||||
HUSKY: 0 # disable Husky hooks so commitlint doesn't block semantic-release
|
||||
- run: npx semantic-release
|
||||
update_i18n:
|
||||
executor: node/default # defaults to LTS
|
||||
steps:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional']
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
ignores: [message => message.startsWith('chore(release):')]
|
||||
};
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário