From f45b8f3ed6ccfe7614c9b3c49dc8b6996546fcf6 Mon Sep 17 00:00:00 2001 From: Lordfirespeed <28568841+Lordfirespeed@users.noreply.github.com> Date: Thu, 15 Aug 2024 13:53:26 +0100 Subject: [PATCH] tooling: (hopefully) ensure release workflow updates package lockfile --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca72ae17..81120a35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: pnpm check:fix - - run: | + - if: steps.changesets.outputs.published == 'false' + run: | + pnpm check:fix + pnpm install --no-frozen-lockfile git add . git commit --amend --no-edit git push origin HEAD:changeset-release/main --force