Merge pull request #333 from Phillezi/main #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TypeScript and Code Formatting Check | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install Prettier | |
run: bun install | |
- name: Check for formatting errors | |
run: bun run format-check | |
- name: Check for TS errors | |
run: bun run tsc |