mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-15 12:53:31 +08:00
14 lines
568 B
TypeScript
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 }})')
|
|
})
|
|
})
|