Skip to content

Commit

Permalink
refact publish.yml - remove npm version patch
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-btc committed Aug 9, 2023
1 parent 8752be6 commit 0e4ed06
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,6 @@ jobs:
- name: Install dependencies using Yarn
run: yarn install

- 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: |
git diff --exit-code || (echo "Uncommitted changes found. Please ensure the working directory is clean." && exit 1)
- 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 0e4ed06

Please sign in to comment.