Update .github/workflows/validate-lockfile.yml

Co-authored-by: Sidharth Vinod <github@sidharth.dev>
This commit is contained in:
shubham-mermaid
2025-06-23 12:41:21 +05:30
committed by GitHub
parent 6f1e0e4d17
commit c5f89eaa9a

View File

@@ -34,7 +34,7 @@ jobs:
# 2) No unwanted vitepress paths
if grep -qF 'packages/mermaid/src/vitepress' pnpm-lock.yaml; then
issues+=("• Disallowed path 'packages/mermaid/src/vitepress' present")
issues+=("• Disallowed path 'packages/mermaid/src/vitepress' present. Run `rm -rf packages/mermaid/src/vitepress && pnpm install` to regenerate.")
fi
# 3) Lockfile only changes when package.json changes