Skip to content

Commit

Permalink
tooling: (hopefully) ensure release workflow updates package lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Aug 15, 2024
1 parent e4bd387 commit f45b8f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f45b8f3

Please sign in to comment.