Skip to content

Commit

Permalink
Install dependencies before using changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenligiray committed Mar 25, 2024
1 parent 20b0018 commit 0ba9b1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
git checkout main
git checkout production
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Prepare for the commit message
run: |
echo "NEW_VERSION=$(pnpm changeset status --output=release.json > /dev/null && jq -r '.releases[0].newVersion' release.json && rm release.json)" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 0ba9b1d

Please sign in to comment.