build: 发布后更新pnpm lockfile

This commit is contained in:
roymondchen 2024-06-17 14:35:49 +08:00
parent 5c43fbfd96
commit a66ef3273a

View File

@ -187,6 +187,10 @@ async function main() {
}
}
// update pnpm-lock.yaml
step('\nUpdating lockfile...');
await run(`pnpm`, ['install', '--prefer-offline']);
if (!skipGit) {
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' });
if (stdout) {