FEATURE (pre-commit): Add building step to pre-commit

This commit is contained in:
Rostislav Dugin
2026-01-23 12:22:31 +03:00
parent a6675390e5
commit 03ada5806d
7 changed files with 38 additions and 2 deletions

View File

@@ -18,6 +18,13 @@ repos:
files: ^frontend/.*\.(ts|tsx|js|jsx)$
pass_filenames: false
- id: frontend-build
name: Frontend Build
entry: bash -c "cd frontend && npm run build"
language: system
files: ^frontend/.*\.(ts|tsx|js|jsx|json|css)$
pass_filenames: false
# Backend checks
- repo: local
hooks: