From: Haoqun Jiang Date: Fri, 21 Oct 2022 08:32:14 +0000 (+0800) Subject: workflow: update lockfile in playground before commiting the snapshot [skip ci] X-Git-Tag: v3.4.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5098067bfbf408390e7ec478812679b7cbd177;p=thirdparty%2Fvuejs%2Fcreate-vue.git workflow: update lockfile in playground before commiting the snapshot [skip ci] --- diff --git a/scripts/prepublish.mjs b/scripts/prepublish.mjs index bd97a930..16ecb1a5 100644 --- a/scripts/prepublish.mjs +++ b/scripts/prepublish.mjs @@ -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"`