feat: RDB-165 header footer links (#131) #481
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: 'coverage' | |
on: | |
push: | |
branches: | |
- main | |
- uat | |
- develop | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
sonarcloud: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: | | |
corepack enable | |
yarn install --immutable --check-cache || yarn install --force | |
- name: Genera client API | |
run: yarn generate | |
- name: Jest Coverage Report | |
uses: ArtiomTr/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-script: yarn test:coverage | |
threshold: 90 | |
annotations: none | |
package-manager: yarn | |
- name: SonarCloud Scan | |
uses: SonarSource/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
with: | |
args: > | |
-Dsonar.organization=${{ vars.SONARCLOUD_ORG }} | |
-Dsonar.projectKey=${{ vars.SONARCLOUD_PROJECT_KEY }} | |
-Dsonar.projectName="${{ vars.SONARCLOUD_PROJECT_NAME }}" |