workflow: update lockfile during release
This commit is contained in:
parent
fafa7a1087
commit
7a5c784452
@ -101,8 +101,13 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// generate changelog
|
// generate changelog
|
||||||
|
step('\nGenerating changelog...')
|
||||||
await run(`pnpm`, ['run', 'changelog'])
|
await run(`pnpm`, ['run', 'changelog'])
|
||||||
|
|
||||||
|
// update pnpm-lock.yaml
|
||||||
|
step('\nUpdating lockfile...')
|
||||||
|
await run(`pnpm`, ['install', '--prefer-offline'])
|
||||||
|
|
||||||
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
|
const { stdout } = await run('git', ['diff'], { stdio: 'pipe' })
|
||||||
if (stdout) {
|
if (stdout) {
|
||||||
step('\nCommitting changes...')
|
step('\nCommitting changes...')
|
||||||
|
Loading…
Reference in New Issue
Block a user