-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: make use of sonar-project-version (#543)
* ci: make use of sonar-project-version
- Loading branch information
1 parent
b76e911
commit 0be24f5
Showing
2 changed files
with
5 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 |
---|---|---|
|
@@ -38,8 +38,13 @@ jobs: | |
env: | ||
CI: true | ||
|
||
- name: Get shogun-admin version 🔖 | ||
run: | | ||
echo "VERSION=$(node -pe "require('./package.json').version")" >> $GITHUB_ENV | ||
- name: SonarQube Scan 🔬 | ||
uses: kitabisa/[email protected] | ||
with: | ||
host: ${{ secrets.SONARQUBE_HOST }} | ||
login: ${{ secrets.SONARQUBE_TOKEN }} | ||
projectVersion: ${{ env.VERSION }} |
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