Skip to content

Commit

Permalink
Merge pull request #97 from nhsuk/migrate-sonarqube-to-sonarcloud
Browse files Browse the repository at this point in the history
Migrate existing project from SonarQube to SonarCloud
  • Loading branch information
sikanderakbarali authored Nov 28, 2023
2 parents ca40d6b + e8fe180 commit 5d92cd9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build:production
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
- name: Analyze with SonarQube
uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST_URL }}
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with:
args: >
-Dsonar.projectKey=UserFeedbackForm
args:
-Dsonar.projectKey=nhsuk-user-feedback-form
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
-Dsonar.coverage.exclusions=**/*.config.js,**/coverage/**
# Only trigger if it's release tag.
Expand Down

0 comments on commit 5d92cd9

Please sign in to comment.