- && npm set progress=false \
- && npm config set depth 0 \
- && npm cache clean --force \
- && npm clean-install \
- && npm run build \
+ && corepack enable \
+ && corepack prepare pnpm@latest --activate \
+ && pnpm set progress=false \
+ && pnpm config set depth 0 \
+ && pnpm install --ignore-scripts --frozen-lockfile \
+ && pnpm build \