build: fix pnpm pptr postinstall (#12450)

* chore: fix chrome not found in jest

* chore: explicitly require deps for stealth plugin
This commit is contained in:
Tony
2023-05-05 23:58:29 +08:00
committed by GitHub
parent 76d0a7deb9
commit a0ea328013
8 changed files with 25 additions and 7 deletions
+3 -3
View File
@@ -39,14 +39,14 @@
"onCreateCommand": "sudo apt-get update && export DEBIAN_FRONTEND=noninteractive && sudo apt-get -y install --no-install-recommends ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libgbm1 libglib2.0-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 wget xdg-utils redis-server && sudo apt-get autoremove -y && sudo apt-get clean -y && sudo rm -rf /var/lib/apt/lists/*",
"updateContentCommand": "pnpm -i && pnpm -i -C docs",
"updateContentCommand": "pnpm i && pnpm i -C docs && pnpm rb",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm -i && pnpm -i -C docs",
"postCreateCommand": "pnpm i && pnpm i -C docs && pnpm rb",
// Disable auto start dev env since codespaces sometimes fails to attach to the terminal
// "postAttachCommand": {
// "app": "pnpm -i",
// "app": "pnpm i",
// // "docs": "pnpm run docs:dev"
// },