workflow fix #3
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: Check compile and linting | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "apps/**" | |
- ".github/workflows/ci.yaml" | |
- "turbo.json" | |
- "biome.json" | |
- "package.json" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "apps/**" | |
- ".github/workflows/ci.yaml" | |
- "turbo.json" | |
- "biome.json" | |
- "package.json" | |
jobs: | |
check-compile-and-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- name: Install bun dependencies | |
run: bun install | |
- name: Check project linting | |
run: bun lint --line-ending=lf | |
- name: Generate prisma client | |
run: bun prisma generate | |
- name: Check project compile | |
run: bun run build |