ci: Fix husky post-merge

This commit is contained in:
peaceiris 2021-02-10 14:15:02 +09:00
parent 32f5b71c41
commit 4f6ebdd767
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC
2 changed files with 2 additions and 3 deletions

View File

@ -1,2 +1,2 @@
npm run update-deps npm ci
git remote prune origin git remote prune origin

View File

@ -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": [