test(release): add check flag to app entrypoints and simplify CI smoke tests

This commit is contained in:
yiling
2026-06-20 11:54:30 +08:00
parent 982bca9383
commit 292307e28e
4 changed files with 18 additions and 12 deletions
+5
View File
@@ -4,6 +4,11 @@ loadEnvConfig(process.cwd(), process.env.NODE_ENV !== 'production')
import { initTranscodeWorkflows } from '@shumai/transcode'
import { TaskQueueTranscode, workflowService } from '@shumai/workflow-core'
if (process.argv.includes('--check')) {
console.log('✅ Transcode worker evaluated successfully!')
process.exit(0)
}
async function run() {
// Initialize workflows and activities
initTranscodeWorkflows()