forked from baron/baron-sso
fix(ci): update github actions to properly support pnpm workspace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user