Skip to content

Commit

Permalink
Update lockfile on pnpm update
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed May 16, 2024
1 parent 9d434e5 commit f46c4d1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ jobs:
git status --porcelain
if [ -n "$(git status --porcelain)" ]; then
echo "Changes detected"
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-version
git add .
if git status --porcelain | grep "M .node-version"; then
changed="Node.js"
else
changed="pnpm"
pnpm install --ignore-scripts
fi
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-version
git add .
git commit -m "Update $changed version"
git push -u origin update-version
gh pr create --title "Update $changed version" --body ""
Expand Down

0 comments on commit f46c4d1

Please sign in to comment.