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

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": {