Skip to content

🎥 Make videos programmatically with React

test electron on 3 platforms

Igor Samokhovetsda17fec883d2
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index fc10793bb2..7557e10346 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -130,8 +130,17 @@ jobs:
run: |
bun run testssr
template-tests:
- runs-on: ubuntu-latest
- name: Template integration
+ name: Template integration on ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os:
+ - ubuntu-latest
+ - macos-latest
+ - windows-latest
+ env:
+ BUN_INSTALL_CACHE_DIR: ${{ matrix.os == 'windows-latest' && 'D:\.bun\install\cache' || '' }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
@@ -140,12 +149,20 @@ jobs:
- 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
uses: rharkor/[email protected]
- name: Test templates
- timeout-minutes: 12
+ timeout-minutes: 20
run: |
bun run testtemplates
lint: