ci: Fix husky post-merge
This commit is contained in:
parent
32f5b71c41
commit
4f6ebdd767
|
@ -1,2 +1,2 @@
|
||||||
npm run update-deps
|
npm ci
|
||||||
git remote prune origin
|
git remote prune origin
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"format": "prettier --write **/*.ts",
|
"format": "prettier --write **/*.ts",
|
||||||
"format:check": "prettier --check **/*.ts",
|
"format:check": "prettier --check **/*.ts",
|
||||||
"release": "standard-version",
|
"release": "standard-version"
|
||||||
"update-deps": "(git diff 'HEAD@{1}' --name-only | grep 'package-lock.json' > /dev/null) && npm ci || :"
|
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"{src,__tests__}/**/*.ts": [
|
"{src,__tests__}/**/*.ts": [
|
||||||
|
|
Loading…
Reference in New Issue