Optimize image loading and page caching #22
Workflow file for this run
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: Next.js App CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| test: | |
| name: π§ͺ Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β¬οΈ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: π Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: π₯ Download deps | |
| working-directory: app | |
| run: bun install | |
| - name: π Format check | |
| working-directory: app | |
| run: bun run check | |
| - name: π Type check | |
| working-directory: app | |
| run: bun run typecheck | |
| - name: β Build | |
| working-directory: app | |
| run: bun run build | |
| - name: π Run the tests | |
| run: echo "No tests configured yet. Add tests as needed." | |