feat: [P4PU-886] implement notifications and enhance cart functionality with item count badge #315
Workflow file for this run
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
name: 'coverage' | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
jobs: | |
sonarcloud: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: yarn | |
- name: Generate api client | |
run: yarn generate | |
- name: Test and coverage | |
run: yarn coverage | |
- uses: davelosert/vitest-coverage-report-action@7727b0282e61c3cffa400550cf2ae57c2b16167d # v2 | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@02ef91109b2d589e757aefcfb2854c2783fd7b19 # v4.0.0 | |
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 }}" |