Merge pull request #1348 from cheahjs/fix/format-actions-enforce

fix: enforce formatters on GitHub Actions
This commit is contained in:
Timothy Jaeryang Baek 2024-03-29 12:12:40 -07:00 committed by GitHub
commit 09da5e71e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -25,3 +25,5 @@ jobs:
pip install yapf
- name: Format backend
run: bun run format:backend
- name: Check for changes after format
run: git diff --exit-code

View file

@ -18,5 +18,8 @@ jobs:
run: bun install
- name: Format frontend
run: bun run format
- name: Check for changes after format
run: git diff --exit-code
- name: Build frontend
if: always()
run: bun run build