Feat/pre built workflows #61
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| # Skip environment validation during CI | |
| SKIP_ENV_VALIDATION: true | |
| NODE_OPTIONS: --max-old-space-size=8096 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Run ESLint | |
| run: bun run lint | |
| - name: Check formatting with Prettier | |
| run: bun run format:check | |
| - name: Run TypeScript type checking | |
| run: bun run typecheck | |
| - name: Build with Next.js | |
| run: bun run build |