build(devcontainer): configure pnpm cache and workspace settings
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 1m34s
CI/CD Pipeline / build-and-deploy (push) Successful in 1m43s
测试最新依赖 / playwright (push) Successful in 1m49s
测试最新依赖 / build-and-test (push) Successful in 1m55s

This commit is contained in:
严浩
2025-11-13 23:14:49 +08:00
parent 88cc365935
commit a4e162cab0
2 changed files with 5 additions and 3 deletions

View File

@@ -95,5 +95,6 @@ RUN sh -c "$(curl -L -o - https://github.com/deluan/zsh-in-docker/releases/downl
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.zshrc" SHELL="$(which zsh)" zsh - \
&& pnpm --version \
&& mkdir /home/usr_vscode/.pnpm-store \
&& mkdir -p /home/usr_vscode/.cache/pnpm \
# /home/usr_vscode/.config/pnpm/rc
&& pnpm config --global set store-dir /home/usr_vscode/.pnpm-store