diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index ea084b0..401d0d6 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -30,12 +30,15 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_PROJECT_KEY: openimis_openimis-fe-admin_js - SONAR_ORGANIZATION: openimis-1 + publish-npm: needs: build