siakhooi/ts-number-to-chinese-words

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

Summary

Maintainability
Test Coverage
name: CodeClimate.com

on:
  workflow_call:
    secrets:
      CODE_CLIMATE_REPORT_TOKEN:
        required: true

jobs:
  CodeClimate:
    name: CodeClimate.com
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/download-artifact@v4
        with:
          name: coverage-report
          path: ./coverage/
      - run: ls -R
      - name: Upload to CodeClimate.com
        uses: paambaati/codeclimate-action@v5.0.0
        env:
          CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORT_TOKEN }}