Skip to content

refactor: move product header to SFC #154

refactor: move product header to SFC

refactor: move product header to SFC #154

Workflow file for this run

name: Sonar
on:
push:
branches:
- main # or the name of your main branch
jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Build Coverage
run: |
npm install -g pnpm
pnpm install
pnpm coverage
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}