-
Notifications
You must be signed in to change notification settings - Fork 22
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
2 changed files
with
17 additions
and
11 deletions.
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 |
---|---|---|
|
@@ -47,11 +47,6 @@ jobs: | |
with: | ||
node-version: 19.7 | ||
|
||
- name: Setup Git | ||
run: | | ||
git config --local user.name cfl-bot | ||
git config --local user.email [email protected] | ||
# TODO: cache node packages | ||
- name: Install Node Packages | ||
run: npm install --only=dev | ||
|
@@ -60,12 +55,19 @@ jobs: | |
run: npm run build | ||
|
||
- name: Push Build Files | ||
run: | | ||
git add lib/* | ||
if ! git diff --staged --quiet; then | ||
git commit -m "push build files [skip ci]" | ||
git push | ||
fi | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
add: 'lib/*' | ||
push: true | ||
author_name: cfl-bot | ||
author_email: [email protected] | ||
message: 'push build files [skip ci]' | ||
# run: | | ||
# git add lib/* | ||
# if ! git diff --staged --quiet; then | ||
# git commit -m "push build files [skip ci]" | ||
# git push | ||
# fi | ||
|
||
release: | ||
needs: [build] | ||
|
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