-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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 | ||
|
||
|