chore(ci): semantic commit
This commit is contained in:
parent
bf48d12f76
commit
8d5ddf7e14
2 changed files with 10 additions and 2 deletions
|
@ -32,6 +32,7 @@ after_success:
|
||||||
- npm pack
|
- npm pack
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
|
||||||
- provider: pages
|
- provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
local_dir: docs/reference
|
local_dir: docs/reference
|
||||||
|
@ -46,6 +47,7 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: false
|
tags: false
|
||||||
|
branch: main
|
||||||
|
|
||||||
- provider: npm
|
- provider: npm
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
@ -53,3 +55,4 @@ deploy:
|
||||||
api_key: $NPM_TOKEN
|
api_key: $NPM_TOKEN
|
||||||
on:
|
on:
|
||||||
tags: false
|
tags: false
|
||||||
|
branch: main
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"secure": "nsp check",
|
"secure": "nsp check",
|
||||||
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
||||||
"unused-deps": "dependency-check --unused --no-dev ./package.json",
|
"unused-deps": "dependency-check --unused --no-dev ./package.json",
|
||||||
"travis-deploy-once": "travis-deploy-once",
|
"travis-deploy-once": "travis-deploy-once -pro",
|
||||||
"semantic-release": "semantic-release",
|
"semantic-release": "semantic-release",
|
||||||
"commit": "git-cz"
|
"commit": "git-cz"
|
||||||
},
|
},
|
||||||
|
@ -187,9 +187,14 @@
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
"path": "./node_modules/cz-conventional-changelog"
|
"path": "./node_modules/cz-conventional-changelog"
|
||||||
},
|
},
|
||||||
|
|
||||||
"pre-git": {
|
"pre-git": {
|
||||||
"commit-msg": "simple",
|
"commit-msg": "simple",
|
||||||
"pre-commit": [],
|
"pre-commit": [
|
||||||
|
"npm prune",
|
||||||
|
"git add packages/*.ts",
|
||||||
|
"npm run ban"
|
||||||
|
],
|
||||||
"pre-push": [],
|
"pre-push": [],
|
||||||
"post-commit": [],
|
"post-commit": [],
|
||||||
"post-checkout": [],
|
"post-checkout": [],
|
||||||
|
|
Loading…
Add table
Reference in a new issue