From fe093bc15f94d90c478e1e96fef0f9feb7b819e9 Mon Sep 17 00:00:00 2001 From: mesalogo Date: Sun, 20 Sep 2026 14:15:27 +0800 Subject: [PATCH] ci: allow full desktop validation to finish --- .github/workflows/packages.yml | 2 +- tests/packages-workflow.test.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 0647376d..8569e369 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -19,7 +19,7 @@ jobs: validate: name: Validate source runs-on: ubuntu-24.04 - timeout-minutes: 20 + timeout-minutes: 30 steps: - uses: actions/checkout@v7 diff --git a/tests/packages-workflow.test.ts b/tests/packages-workflow.test.ts index 406c7146..05d084d3 100644 --- a/tests/packages-workflow.test.ts +++ b/tests/packages-workflow.test.ts @@ -12,6 +12,7 @@ const parsed = parse(workflow) as { string, { needs?: string | string[] + 'timeout-minutes'?: number environment?: { name?: string } strategy?: { matrix?: { @@ -50,6 +51,10 @@ function jobNeeds(name: string): string[] { } describe('desktop packages workflow', () => { + it('allows enough time for the full source validation and bundle build', () => { + expect(parsed.jobs.validate?.['timeout-minutes']).toBe(30) + }) + it('prepares a sandbox and virtual display before running Electron tests', () => { const steps = parsed.jobs.validate?.steps ?? [] const installIndex = steps.findIndex(step => step.run === 'npm ci')