mirror of
https://github.com/imjasonh/apidiff-action
synced 2026-07-06 22:52:43 +00:00
- Runs lint-staged for automatic formatting of JS/JSON/YAML - Runs pre-commit for all validation checks - Ensures code quality before commits reach the repository - Prevents CI failures due to formatting issues
5 lines
84 B
Bash
Executable file
5 lines
84 B
Bash
Executable file
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
npx lint-staged
|
|
pre-commit run
|