Skip to content

Commit

Permalink
fix publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-btc committed Aug 9, 2023
1 parent 3ac3835 commit 8752be6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
- name: Install dependencies using Yarn
run: yarn install

- name: Add Author identity
- name: Commit changes to yarn.lock if any
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add yarn.lock
git commit -m "Update yarn.lock" || echo "No changes to commit"
- name: Check for uncommitted changes
run: |
Expand All @@ -34,6 +36,10 @@ jobs:
- name: Update version
run: npm version patch

- name: Push updated version and yarn.lock
run: |
git push origin main
- name: Build lib
run: npm run build

Expand Down

0 comments on commit 8752be6

Please sign in to comment.