cc-haha/scripts/pr/release-workflow.test.ts
程序员阿江(Relakkes) 3193e741c7 ci: remove release quality preflight gate
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 00:30:59 +08:00

14 lines
568 B
TypeScript

import { describe, expect, test } from 'bun:test'
import { readFileSync } from 'node:fs'
describe('release desktop workflow', () => {
test('build job runs directly without quality preflight dependency', () => {
const workflow = readFileSync('.github/workflows/release-desktop.yml', 'utf8')
expect(workflow).not.toContain('quality-preflight:')
expect(workflow).not.toContain('run: bun run quality:gate --mode pr')
expect(workflow).not.toContain('needs: quality-preflight')
expect(workflow).toContain('name: Build (${{ matrix.label }})')
})
})