BAU: Bump di-account-management-rp-registry from 44e3419 to 4d05926
#7773
Workflow file for this run
This file contains hidden or 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
| name: Sonarcloud | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| sonarcloud: | |
| name: Run Sonar scan | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # pin@v3 | |
| with: | |
| ref: ${{ inputs.gitRef || github.ref }} | |
| - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # pin@v3 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Install dependencies | |
| run: npm run install-all | |
| - name: Generate coverage report | |
| run: npm run test:coverage | |
| - name: SonarCloud Scan | |
| uses: SonarSource/sonarqube-scan-action@1a6d90ebcb0e6a6b1d87e37ba693fe453195ae25 # pin@v5.3.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| env: | |
| API_BASE_URL: http://localhost:6000/api | |
| AM_API_BASE_URL: http://localhost:5000/api | |
| GOV_ACCOUNTS_PUBLISHING_API_URL: http://localhost:1000/api | |
| GOV_ACCOUNTS_PUBLISHING_API_TOKEN: token | |
| AM_YOUR_ACCOUNT_URL: some url | |
| OIDC_CLIENT_ID: test | |
| OIDC_CLIENT_SCOPES: openid | |
| SESSION_SECRET: secret | |
| SESSION_EXPIRY: 3600000 | |
| SESSION_STORE_TABLE_NAME: account-mgmt-frontend-SessionStore |