#!/bin/sh BRANCH=$(git rev-parse --abbrev-ref HEAD) if [ "$BRANCH" != "main" ]; then exit 0 fi pnpm turbo run build --filter="...[origin/$BRANCH]"