Skip to content

[Infra] vercel.json has no ignoreCommand, so every push triggers a full frontend build even for backend/contracts-only changes #1080

Description

@grantfox-oss

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

vercel.json sets buildCommand/installCommand scoped to the frontend workspace but has no ignoreCommand. In a monorepo, Vercel's default behavior builds on every push regardless of whether frontend/ actually changed, wasting build minutes on backend-only or contracts-only commits.

Acceptance criteria

  • Add an ignoreCommand using git diff scoped to the frontend/ directory (Vercel's recommended npx turbo-ignore pattern or a manual git diff --quiet HEAD^ HEAD -- frontend check)
  • Verify a backend-only commit is skipped and a frontend commit still builds

Files to touch

  • vercel.json

Out of scope

  • Migrating to Turborepo
  • Changing the build/install commands themselves

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestinfraCI/CD and infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions