name: CI on: push: branches: - main pull_request: branches: - main workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: lint: name: Lint & Format Check runs-on: ubuntu-latest timeout-minutes: 10 steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup environment uses: ./.github/actions/setup-env - name: Run Biome check run: pnpm check test: name: Test on Node ${{ matrix.node-version }} runs-on: ubuntu-latest timeout-minutes: 15 strategy: fail-fast: false matrix: node-version: ['24', '26'] steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup environment (with FFmpeg) uses: ./.github/actions/setup-env with: node-version: ${{ matrix.node-version }} with-ffmpeg: 'true' - name: Verify FFmpeg availability run: ffmpeg -version - name: Run tests with coverage run: pnpm test:coverage build: name: Typecheck & Build runs-on: ubuntu-latest timeout-minutes: 10 needs: [lint, test] steps: - name: Checkout repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Setup environment uses: ./.github/actions/setup-env - name: Run typecheck run: pnpm typecheck - name: Run build (TypeScript) run: pnpm build verify-binaries: name: Verify Binary needs: [build] permissions: contents: read uses: ./.github/workflows/build-binaries.yml with: upload: false