feat: implement Redis-based caching and Upstash rate limiting with im… #19
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: Devix CI | |
| on: | |
| push: | |
| branches: ["main", "dev"] | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| build: | |
| name: Build and Test | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Lint | |
| run: bun lint | |
| - name: Type Check | |
| run: bun type-check | |
| - name: Build | |
| run: bun run build |