feat: fix typings #32
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: Code Check | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
code-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- run: git fetch origin "$BASE_COMMIT_SHA" | |
- name: Install dependencies | |
run: bun install | |
- name: Format code | |
run: bun run format | |
- name: Type check | |
run: bun run typecheck | |
- name: Lint | |
run: bun run lint | |
- name: Test | |
run: bun run test |