From fb5098067bfbf408390e7ec478812679b7cbd177 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 21 Oct 2022 16:32:14 +0800 Subject: [PATCH] workflow: update lockfile in playground before commiting the snapshot [skip ci] --- scripts/prepublish.mjs | 1 + 1 file changed, 1 insertion(+) 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"` -- 2.39.5