vega-frontend-monorepo/.husky/pre-push

9 lines
164 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Lint all staged files
yarn nx format:check
# Test all projects with changes
yarn nx affected -t test --exclude trading