chore(ci): only-allow use pnpm install deps (#4368)

This commit is contained in:
C.Y.Kun 2021-11-12 17:35:09 +08:00 committed by GitHub
parent 041ef6d0c9
commit 36fabc6f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@
"docs:gen-locale": "pnpm run -C docs gen-locale",
"docs:crowdin-credentials": "pnpm run -C docs crowdin-credentials",
"prepare": "husky install",
"postinstall": "pnpm gen:version"
"postinstall": "pnpm gen:version",
"preinstall": "npx only-allow pnpm -y"
},
"config": {
"commitizen": {