Automating WeChat Mini Program Deployment with miniprogram-ci
Every time I release a new version of my mini program to the preview environment, I need to: build the package => open WeChat Developer Tools => click upload => click submit. The whole process is tedious. This manual publishing workflow is extremely inefficient, so I wanted to automate it with a script. I discovered the official miniprogram-ci npm package, and after some exploration, I finally solved this pain point. However, the official documentation is quite sparse, so I’m documenting my solution here.
Jan 15, 2026