feat: strengthen backup and mobile workflows
ci / gitleaks (push) Successful in 1m19s
ci / docker (push) Successful in 5m48s

This commit is contained in:
2026-09-16 21:12:52 +08:00
parent 6f38190c92
commit 6c234d7d82
64 changed files with 5059 additions and 635 deletions
+15
View File
@@ -0,0 +1,15 @@
import { spawn } from 'node:child_process'
const projects = ['mobile-390', 'mobile-375']
for (const project of projects) {
const code = await new Promise((resolve, reject) => {
const child = spawn('pnpm', ['exec', 'playwright', 'test', '--project', project], {
cwd: process.cwd(),
env: { ...process.env, DODO_E2E_PROJECT: project },
stdio: 'inherit',
})
child.once('error', reject)
child.once('exit', value => resolve(value ?? 1))
})
if (code !== 0) process.exit(code)
}