Use biome to automaticly format PR, instead of just checking formatting
94bfadc5
1 file(s) · +4 −4
| 2 | 2 | ||
| 3 | 3 | on: |
|
| 4 | 4 | push: |
|
| 5 | - | branches: [ main ] |
|
| 5 | + | branches: [main] |
|
| 6 | 6 | pull_request: |
|
| 7 | - | branches: [ main ] |
|
| 7 | + | branches: [main] |
|
| 8 | 8 | ||
| 9 | 9 | jobs: |
|
| 10 | 10 | format: |
|
| 22 | 22 | - name: Install dependencies |
|
| 23 | 23 | run: bun install |
|
| 24 | 24 | ||
| 25 | - | - name: Check formatting |
|
| 26 | - | run: bun run format:check |
|
| 25 | + | - name: Check and fix formatting errors |
|
| 26 | + | run: bun run format |
|