siakhooi/ts-number-to-chinese-words

View on GitHub
.github/workflows/quality-sonarcloud.yml

Summary

Maintainability
Test Coverage
name: SonarCloud.io

on:
  workflow_call:
    secrets:
      SONARCLOUD_TOKEN:
        required: true

jobs:
  SonarCloud:
    name: SonarCloud.io
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: coverage-report
          path: ./coverage/
      - run: ls -R
      - name: SonarCloud Scan
        uses: SonarSource/sonarcloud-github-action@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}