Fluency overhaul: 60fps capture, unified clocks, cinematic framing, music layer #21
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| typecheck-and-unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run typecheck | |
| # whole unit suite (no explicit file list, so new test files aren't | |
| # silently skipped); the e2e files run in the browser-e2e job below, | |
| # which has chromium + ffmpeg installed. | |
| - run: npx vitest run --exclude '**/*.e2e.test.ts' | |
| - run: npm audit --audit-level=moderate | |
| browser-e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - run: npx playwright install --with-deps chromium | |
| - run: sudo apt-get update && sudo apt-get install -y ffmpeg | |
| - run: npm test -- --run test/record.e2e.test.ts test/generate.e2e.test.ts |