mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-06-04 09:14:14 -04:00
build: tell commitlint to ignore release commits instead of disabling Husky during semantic-release
This commit is contained in:
parent
be7b3a08fa
commit
5bab3f15c8
2 changed files with 3 additions and 5 deletions
|
@ -59,10 +59,7 @@ jobs:
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: test/results
|
path: test/results
|
||||||
- *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
|
|
||||||
push-translations:
|
push-translations:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
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