Files
shockbot/.husky/pre-commit
T
David Blass 68b65b2b05 bump version
2025-11-13 16:16:04 -05:00

13 lines
348 B
Plaintext
Executable File

# Ensure lockfile is up to date if package.json changed
if git diff --cached --name-only | grep -q "^package.json$"; then
echo "🔒 Updating lockfile..."
pnpm lock
fi
# Build the action before committing
echo "🔨 Building action..."
pnpm build
# Add the built files and lockfile to the commit
git add entry.js mcp-server.js pnpm-lock.yaml