Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

ci: add GitHub Actions pipeline (lint, typecheck, test, registry drift)

dev_wandryd6dc7554bf10
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..6dfcb3b2
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ branches: [main, staging]
+
+jobs:
+ checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: oven-sh/setup-bun@v2
+ with:
+ bun-version: latest
+ - run: bun install --frozen-lockfile
+ - run: bun run lint
+ - run: bun run typecheck
+ # TODO: make blocking once the 14 pre-existing failures documented in
+ # PR #61 (12 remocn-ui suites + 2 real source bugs) are fixed.
+ - run: bun run test
+ continue-on-error: true
+ - run: bun run registry:check
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: oven-sh/setup-bun@v2
+ with:
+ bun-version: latest
+ - run: bun install --frozen-lockfile
+ - run: bun run build