Skip to content

feat: add Vercel ignoreCommand to skip frontend builds on unrelated c… - #1145

Open
JemimahEkong wants to merge 1 commit into
LabsCrypt:mainfrom
JemimahEkong:feat/vercel-ignore-command
Open

feat: add Vercel ignoreCommand to skip frontend builds on unrelated c…#1145
JemimahEkong wants to merge 1 commit into
LabsCrypt:mainfrom
JemimahEkong:feat/vercel-ignore-command

Conversation

@JemimahEkong

Copy link
Copy Markdown

Summary

Adds ignoreCommand to vercel.json to prevent unnecessary Vercel frontend builds when changes only affect backend or contracts.

Closes #1080

Changes

  • Added:
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- frontend/"

Behavior

  • Skips Vercel builds when no files inside frontend/ are changed.
  • Continues normal builds when frontend files are modified.

Verification

  • Confirmed repo is a monorepo with separate frontend, backend, and contracts workspaces.
  • No existing ignoreCommand was configured.
  • No changes made to build/install commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant