Skip to content

🎥 Make videos programmatically with React

Avoid third-party setup actions in CI

Cursor Agent99e187658b42
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 4e253f600e..442f30ae6c 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -18,13 +18,10 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test Lambda IT
run: |
bun run testlambda
@@ -44,13 +41,10 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test Lambda IT
run: |
bun run build
@@ -66,15 +60,12 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
- name: Install deps
run: cd packages/webcodecs && bunx playwright install --with-deps
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test Webcodecs
run: |
bun run testwebcodecs
@@ -91,15 +82,12 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
- name: Install deps
run: cd packages/web-renderer && bunx playwright install --with-deps && cd ../media && bunx playwright install --with-deps
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test web renderer
run: |
bun run testwebrenderer
@@ -111,25 +99,19 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 16
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- - uses: ruby/setup-ruby@master
- with:
- ruby-version: '3.1'
- - name: Setup PHP
- uses: shivammathur/setup-php@v2
- with:
- php-version: '8.4'
+ - name: Check Ruby
+ run: ruby --version
+ - name: Check PHP
+ run: php --version
- run: pip install pylint boto3 pytest
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test SSR
timeout-minutes: 8
run: |
@@ -150,9 +132,8 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Check if template tests are affected
id: check
run: |
@@ -190,9 +171,8 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Cache Bun dependencies (Windows)
if: matrix.os == 'windows-latest'
uses: actions/cache@v5
@@ -203,8 +183,6 @@ jobs:
${{ matrix.os }}-bun-
- name: Install
run: bun ci
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Test templates
timeout-minutes: 20
run: |
@@ -217,15 +195,12 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 25
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Install
run: bun ci
env:
CI: true
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Perform stylecheck
timeout-minutes: 10
run: |
@@ -250,9 +225,8 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
+ - name: Install Bun
+ run: npm install -g [email protected] && bun --version
- name: Cache Bun dependencies (Windows)
if: matrix.os == 'windows-latest'
uses: actions/cache@v5
@@ -263,8 +237,6 @@ jobs:
${{ matrix.os }}-bun-
- name: Install
run: bun ci
- - name: Cache Turbo
- uses: rharkor/[email protected]
- name: Build & Test
timeout-minutes: 30
run: |