Skip to content

Commit

Permalink
chore: change cd scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
brgndyy committed Sep 18, 2024
1 parent 8de9819 commit f6bd349
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,19 @@ jobs:
run: npm install -g pnpm

- name: Install dependencies
run: pnpm install
run: pnpm install --no-frozen-lockfile

- name: Update lockfile if necessary
run: |
if git diff --exit-code pnpm-lock.yaml; then
echo "No changes to pnpm-lock.yaml"
else
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add pnpm-lock.yaml
git commit -m "Update pnpm-lock.yaml"
git push
fi
- name: Create release version
run: pnpm changeset version
Expand Down

0 comments on commit f6bd349

Please sign in to comment.