Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

ci: avoid launching Electron during test setup

Leggettd5d6385f4fdc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 06ab81f9..bec565bb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,7 +47,7 @@ jobs:
test -f /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc
test -f /usr/share/fonts/opentype/noto/NotoSansCJK-Bold.ttc
- name: Prepare Electron for desktop tests
- run: pnpm --filter @opencreator/desktop exec electron --version
+ run: pnpm --filter @opencreator/desktop exec node -e "require('electron')"
- run: pnpm test
- run: pnpm release:verify-scheduled-task-upgrade
- run: pnpm typecheck