mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-07 11:34:00 -04:00
build: tell commitlint to ignore release commits instead of disabling Husky during semantic-release
This commit is contained in:
parent
6ea2f5813f
commit
582c011988
2 changed files with 3 additions and 5 deletions
|
@ -36,10 +36,7 @@ jobs:
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- deploy_gh_pages
|
- deploy_gh_pages
|
||||||
- run:
|
- run: npx semantic-release
|
||||||
command: npx semantic-release
|
|
||||||
environment:
|
|
||||||
HUSKY: 0 # disable Husky hooks so commitlint doesn't block semantic-release
|
|
||||||
update_i18n:
|
update_i18n:
|
||||||
executor: node/default # defaults to LTS
|
executor: node/default # defaults to LTS
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@commitlint/config-conventional']
|
extends: ['@commitlint/config-conventional'],
|
||||||
|
ignores: [message => message.startsWith('chore(release):')]
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue