siakhooi/ts-number-to-chinese-words

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

Summary

Maintainability
Test Coverage
name: Codacy

on:
  workflow_call:
    secrets:
      CODACY_PROJECT_TOKEN:
        required: true

jobs:
  Codacy:
    name: Codacy
    runs-on: ubuntu-latest
    steps:
      - uses: actions/download-artifact@v4
        with:
          name: coverage-report
          path: ./coverage/
      - run: ls -R
      - name: Upload to Codacy.com
        uses: codacy/codacy-coverage-reporter-action@v1
        with:
          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
          coverage-reports: coverage/clover.xml