vega-frontend-monorepo/.husky/commit-msg

13 lines
292 B
Plaintext
Raw Normal View History

2022-05-16 17:36:03 +00:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Lint commit messages to ensure they follow conventional commit standards
yarn commitlint --edit "${1}"
# Lint all staged files
yarn lint-staged
# Build & test affected apps
yarn nx affected:build --uncommitted
yarn nx affected:test --uncommitted