]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
workflow: update lockfile in playground before commiting the snapshot [skip ci]
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 21 Oct 2022 08:32:14 +0000 (16:32 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 21 Oct 2022 08:33:12 +0000 (16:33 +0800)
scripts/prepublish.mjs

index bd97a930448f2c9c19f0ac13f01581237d8aeddc..16ecb1a5cf922b660e71ef2e692ad291189b173d 100644 (file)
@@ -9,6 +9,7 @@ let { version } = JSON.parse(await fs.readFile('./package.json'))
 const playgroundDir = path.resolve(__dirname, '../playground/')
 cd(playgroundDir)
 
+await $`pnpm install`
 await $`git add -A .`
 try {
   await $`git commit -m "version ${version} snapshot"`