This commit is contained in:
2026-04-22 18:54:52 +08:00
commit bc8986e3b2
49 changed files with 20987 additions and 0 deletions

14
scripts/ci/preview.js Normal file
View File

@@ -0,0 +1,14 @@
const ci = require('miniprogram-ci')
const { createProject, getBaseSetting, getPreviewOutput } = require('./shared')
ci.preview({
project: createProject(),
desc: process.env.WEAPP_DESC || 'codex preview',
qrcodeFormat: 'image',
qrcodeOutputDest: getPreviewOutput(),
setting: getBaseSetting(),
onProgressUpdate() {}
}).catch(error => {
console.error(error)
process.exit(1)
})