Skip to content

🎥 Make videos programmatically with React

node 25 workflow

Igor Samokhovets0bb9324271ba
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 090deff4f0..fc10793bb2 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -129,6 +129,25 @@ jobs:
timeout-minutes: 8
run: |
bun run testssr
+ template-tests:
+ runs-on: ubuntu-latest
+ name: Template integration
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/setup-node@v6
+ with:
+ node-version: 25
+ - uses: oven-sh/[email protected]
+ with:
+ bun-version: 1.3.3
+ - name: Install
+ run: bun ci
+ - name: Cache Turbo
+ uses: rharkor/[email protected]
+ - name: Test templates
+ timeout-minutes: 12
+ run: |
+ bun run testtemplates
lint:
runs-on: ubuntu-latest
name: Linting + Formatting
diff --git a/package.json b/package.json
index 1e5d59b00e..f5f7aca159 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"build": "turbo run make --no-update-notifier",
"build-docs": "TURBO_TELEMETRY_DISABLED=1 turbo run build-docs --no-update-notifier",
"testssr": "turbo run testssr --no-update-notifier",
+ "testtemplates": "turbo run testtemplates --no-update-notifier",
"testwebcodecs": "turbo run testwebcodecs --no-update-notifier",
"testwebrenderer": "turbo run testwebrenderer --concurrency=1 --no-update-notifier",
"testlambda": "turbo run testlambda --concurrency=1 --no-update-notifier",
diff --git a/packages/it-tests/package.json b/packages/it-tests/package.json
index aa6d8976d7..2dda58b92c 100644
--- a/packages/it-tests/package.json
+++ b/packages/it-tests/package.json
@@ -7,7 +7,8 @@
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
"test": " node --test src/node-version/media-parser.mjs && bun test src/rendering --run --timeout 60000",
- "testssr": "bun test src/ssr src/bundle src/webcodecs src/templates src/monorepo --timeout 40000",
+ "testssr": "bun test src/ssr src/bundle src/webcodecs src/monorepo --timeout 40000",
+ "testtemplates": "bun test src/templates --timeout 400000",
"testlambda": "exit 0",
"lint": "tsc -d",
"formatting": "oxfmt src --check",
diff --git a/packages/it-tests/src/templates/electron-template-smoke.test.ts b/packages/it-tests/src/templates/electron.test.ts
similarity index 100%
rename from packages/it-tests/src/templates/electron-template-smoke.test.ts
rename to packages/it-tests/src/templates/electron.test.ts
diff --git a/turbo.json b/turbo.json
index 488b83a281..e0a6951f15 100644
--- a/turbo.json
+++ b/turbo.json
@@ -15,6 +15,9 @@
"testssr": {
"dependsOn": ["^make", "@remotion/example#bundle"]
},
+ "testtemplates": {
+ "dependsOn": ["^make", "@remotion/example#bundle"]
+ },
"testlambda": {
"dependsOn": ["^make", "@remotion/example#bundle"]
},