Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Block npm/bun
- name: Block npm/pnpm/yarn lockfiles

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Nitpick: The step name and filename still imply that Bun is being blocked. Consider updating the step name to something like 'Package Manager Guardrail' to reflect the pivot to supporting Bun.

run: |
if [ -f "package-lock.json" ] || [ -f "bun.lockb" ] || [ -f ".npmrc" ]; then
echo "❌ npm/bun artifacts detected. Use Deno instead."
if [ -f "package-lock.json" ] || [ -f "pnpm-lock.yaml" ] || [ -f "yarn.lock" ]; then
echo "❌ npm/pnpm/yarn artifacts detected. Use Bun (package.json + bun.lock) instead."
exit 1
fi
echo "✅ No npm/bun violations"
echo "✅ No npm/pnpm/yarn violations"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Loading