1
0
forked from baron/baron-sso

fix(ci): update github actions to properly support pnpm workspace

This commit is contained in:
2026-05-15 13:20:13 +09:00
parent 55d5e58783
commit 9f7b925e73
5 changed files with 16 additions and 22 deletions

View File

@@ -61,7 +61,7 @@ ensure_frontend_dependencies() {
echo "Installing frontend dependencies..."
if [ "$WORKSPACE_DIR" = "/common" ]; then
(cd /common && rm -rf node_modules .pnpm-store pnpm-lock.yaml pnpm-workspace.yaml && npm install --no-fund --no-audit)
(cd /common && rm -rf node_modules .pnpm-store package-lock.json && npm install --no-workspaces --no-fund --no-audit)
else
npm ci
fi