Skip to content

🎥 Make videos programmatically with React

Internal: Run independent CI setup steps in parallel

Jonny Burger0518bcbb93ee
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 30e5d33ae0..24bcfb840d 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -183,33 +183,35 @@ jobs:
name: Monorepo tests
steps:
- uses: actions/checkout@v6
- - uses: actions/setup-node@v6
- with:
- node-version: 16
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
- - name: Setup Go
- uses: actions/setup-go@v6
- with:
- go-version-file: packages/lambda-go/go.mod
- cache-dependency-path: packages/lambda-go/go.sum
- - 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'
- tools: none
- - name: Install Python dependencies
- run: pip install pylint boto3 pytest
- - name: Install
- run: bun ci
+ - parallel:
+ - uses: actions/setup-node@v6
+ with:
+ node-version: 16
+ - uses: oven-sh/[email protected]
+ with:
+ bun-version: 1.3.3
+ - name: Setup Go
+ uses: actions/setup-go@v6
+ with:
+ go-version-file: packages/lambda-go/go.mod
+ cache-dependency-path: packages/lambda-go/go.sum
+ - 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'
+ tools: none
+ - parallel:
+ - name: Install Python dependencies
+ run: pip install pylint boto3 pytest
+ - name: Install
+ run: bun ci
- name: Cache Turbo
uses: rharkor/[email protected]
- name: Monorepo checks
@@ -232,20 +234,21 @@ jobs:
BUN_INSTALL_CACHE_DIR: ${{ matrix.os == 'windows-latest' && 'D:\.bun\install\cache' || '' }}
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: Cache Bun dependencies (Windows)
- if: matrix.os == 'windows-latest'
- uses: actions/cache@v5
- with:
- path: D:\.bun\install\cache
- key: ${{ matrix.os }}-bun-${{ hashFiles('**/bun.lock') }}
- restore-keys: |
- ${{ matrix.os }}-bun-
+ - parallel:
+ - uses: actions/setup-node@v6
+ with:
+ node-version: 25
+ - uses: oven-sh/[email protected]
+ with:
+ bun-version: 1.3.3
+ - name: Cache Bun dependencies (Windows)
+ if: matrix.os == 'windows-latest'
+ uses: actions/cache@v5
+ with:
+ path: D:\.bun\install\cache
+ key: ${{ matrix.os }}-bun-${{ hashFiles('**/bun.lock') }}
+ restore-keys: |
+ ${{ matrix.os }}-bun-
- name: Install
run: bun ci
- name: Cache Turbo
@@ -307,20 +310,21 @@ jobs:
with:
fetch-depth: 0
filter: blob:none
- - uses: actions/setup-node@v6
- with:
- node-version: ${{ matrix.node_version }}
- - uses: oven-sh/[email protected]
- with:
- bun-version: 1.3.3
- - name: Cache Bun dependencies (Windows)
- if: matrix.os == 'windows-latest'
- uses: actions/cache@v5
- with:
- path: D:\.bun\install\cache
- key: ${{ matrix.os }}-bun-${{ hashFiles('**/bun.lock') }}
- restore-keys: |
- ${{ matrix.os }}-bun-
+ - parallel:
+ - uses: actions/setup-node@v6
+ with:
+ node-version: ${{ matrix.node_version }}
+ - uses: oven-sh/[email protected]
+ with:
+ bun-version: 1.3.3
+ - name: Cache Bun dependencies (Windows)
+ if: matrix.os == 'windows-latest'
+ uses: actions/cache@v5
+ with:
+ path: D:\.bun\install\cache
+ key: ${{ matrix.os }}-bun-${{ hashFiles('**/bun.lock') }}
+ restore-keys: |
+ ${{ matrix.os }}-bun-
- name: Install
run: bun ci
- name: Cache Turbo