-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check-version-bump workflow and junit.xml report to codecov (#14)
* Add check-version-bump workflow and junit.xml report to codecov Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak the action Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak the action Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Bump version 0.1.1 Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
- Loading branch information
1 parent
08a004e
commit c4d6e3f
Showing
6 changed files
with
77 additions
and
4 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Check Version Bump | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
check-version-bump: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Check if version has been updated | ||
id: check | ||
uses: EndBug/version-check@v2 | ||
|
||
- name: Log when changed | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found in commit ${{ steps.check.outputs.commit }}! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
|
||
- name: Log when unchanged | ||
if: steps.check.outputs.changed == 'false' | ||
run: 'echo "No version change! Please bump the version in package.json!" && exit 1' |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ npm-debug.log | |
!mock-cert.pem | ||
.env* | ||
coverage | ||
junit.xml | ||
bin | ||
temp/* | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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