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.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
fix(ci): preserve generated build prerequisites
Leggette3d7da1cea89
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 74e8f4cb..5d1a1d84 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -8,6 +8,7 @@ on:pull_request:permissions:+ actions: readcontents: readconcurrency:@@ -27,11 +28,29 @@ jobs:- name: Classify changed filesid: scopeenv:- BASE_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}+ GH_TOKEN: ${{ github.token }}+ GH_REPO: ${{ github.repository }}+ PR_BASE_SHA: ${{ github.event.pull_request.base.sha }}run: |+ if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then+ base_sha="$PR_BASE_SHA"+ elif [[ "$GITHUB_EVENT_NAME" == "push" ]]; then+ base_sha="$(+ gh run list \+ --workflow ci.yml \+ --branch master \+ --event push \+ --status success \+ --limit 1 \+ --json headSha \+ --jq '.[0].headSha // empty'+ )"+ else+ base_sha=''+ firelease_only="$(node apps/desktop/scripts/release-build-input.mjs \- release-only "$BASE_SHA" "$GITHUB_SHA"+ release-only "$base_sha" "$GITHUB_SHA")"echo "release-only=$release_only" >> "$GITHUB_OUTPUT"echo "Release-only change: $release_only"@@ -112,6 +131,11 @@ jobs:go-version-file: runtime/krillinai/go.modcache-dependency-path: runtime/krillinai/go.sum- run: pnpm install --frozen-lockfile+ - name: Prepare generated build inputs+ run: |+ pnpm templates:ci+ pnpm --filter @opencreator/protocol build+ pnpm --filter @opencreator/config build- run: pnpm typecheck- run: pnpm build- run: pnpm smoke:ci@@ -129,6 +153,7 @@ jobs:node-version: 22cache: pnpm- run: pnpm install --frozen-lockfile+ - run: pnpm templates:ci- run: pnpm --filter @opencreator/web build- run: pnpm exec playwright install --with-deps chromium- run: pnpm e2e apps/web/e2e/web-desktop-parity.spec.ts --project=chromium-desktopdiff --git a/apps/desktop/test/release-workflow.test.mjs b/apps/desktop/test/release-workflow.test.mjsindex 4d629d11..bab42166 100644--- a/apps/desktop/test/release-workflow.test.mjs+++ b/apps/desktop/test/release-workflow.test.mjs@@ -30,6 +30,9 @@ describe('Desktop release workflow', () => {expect(ciWorkflow).toContain('compile:');expect(ciWorkflow).toContain('web-parity:');expect(ciWorkflow).toContain("needs.classify.outputs.release-only == 'true'");+ expect(ciWorkflow).toContain('--status success');+ expect(ciWorkflow).toContain("--jq '.[0].headSha // empty'");+ expect(ciWorkflow).toContain('name: Prepare generated build inputs');});it('runs the network audit before expensive verification steps', () => {