name: Web CI on: push: branches: [master, dev] paths: - "web/**" - ".github/workflows/web-ci.yml" pull_request: branches: [master, dev] paths: - "web/**" - ".github/workflows/web-ci.yml" concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: format-lint-typecheck-build: runs-on: ubuntu-latest defaults: run: working-directory: web steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 with: bun-version: "1.3.12" - name: Install dependencies run: bun install --frozen-lockfile - name: Format check run: bun run format:check - name: Lint run: bun run lint - name: Type check run: bun run type-check - name: Next build run: bun run build env: NEXT_TELEMETRY_DISABLED: "1" - name: OpenNext (Cloudflare) build run: bunx opennextjs-cloudflare build env: NEXT_TELEMETRY_DISABLED: "1"