Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
ci: add CI pipeline with build, typecheck, and test jobs
James98dedf8c14ea
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlnew file mode 100644index 0000000000..b3346785da--- /dev/null+++ b/.github/workflows/ci.yml@@ -0,0 +1,115 @@+name: CI++on:+ pull_request:+ push:+ branches: [main]++concurrency:+ group: ci-${{ github.ref }}+ cancel-in-progress: true++jobs:+ build:+ name: Build+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 10+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ - run: pnpm install --frozen-lockfile+ - run: pnpm build++ typecheck:+ name: Typecheck+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 10+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ - run: pnpm install --frozen-lockfile+ - run: pnpm build+ - run: pnpm -r typecheck++ test-core:+ name: "Test: core"+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 10+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ - run: pnpm install --frozen-lockfile+ - run: pnpm --filter @hyperframes/core test -- --coverage++ test-engine:+ name: "Test: engine"+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 10+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ - run: pnpm install --frozen-lockfile+ - run: pnpm --filter @hyperframes/engine test++ test-runtime-contract:+ name: "Test: runtime contract"+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 10+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ cache: pnpm+ - run: pnpm install --frozen-lockfile+ - run: pnpm --filter @hyperframes/core test:hyperframe-runtime-ci++ semantic-pr-title:+ name: Semantic PR title+ if: github.event_name == 'pull_request'+ runs-on: ubuntu-latest+ timeout-minutes: 5+ steps:+ - uses: amannn/action-semantic-pull-request@v5+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ with:+ types: |+ feat+ fix+ docs+ style+ refactor+ perf+ test+ build+ ci+ chore+ revert