diff --git a/scripts/desktop/release.workflow.test.ts b/scripts/desktop/release.workflow.test.ts index 23b37c3..e8a4b6f 100644 --- a/scripts/desktop/release.workflow.test.ts +++ b/scripts/desktop/release.workflow.test.ts @@ -1,16 +1,16 @@ -import { describe, expect, it } from 'vitest'; -import { readFileSync } from 'node:fs'; -import { resolve } from 'node:path'; - -describe('release workflow', () => { - it('builds macOS arm64 and x64 on dedicated runners and verifies packaged app architecture', () => { - const workflow = readFileSync(resolve(process.cwd(), '.github/workflows/release.yml'), 'utf8'); - - expect(workflow).toContain('runner: macos-15-intel'); - expect(workflow).toContain('runner: macos-15'); - expect(workflow).toContain('expectedMacArch: x64'); - expect(workflow).toContain('expectedMacArch: arm64'); - expect(workflow).toContain('Verify packaged macOS architecture'); - expect(workflow).toContain('lipo -archs'); - }); -}); +import { describe, expect, it } from 'vitest'; +import { readFileSync } from 'node:fs'; +import { resolve } from 'node:path'; + +describe('release workflow', () => { + it('builds macOS arm64 and x64 on dedicated runners and verifies packaged app architecture', () => { + const workflow = readFileSync(resolve(process.cwd(), '.github/workflows/release.yml'), 'utf8'); + + expect(workflow).toContain('runner: macos-15-intel'); + expect(workflow).toContain('runner: macos-15'); + expect(workflow).toContain('expectedMacArch: x64'); + expect(workflow).toContain('expectedMacArch: arm64'); + expect(workflow).toContain('Verify packaged macOS architecture'); + expect(workflow).toContain('node scripts/desktop/verifyMacArchitecture.mjs'); + }); +});