diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a44a9d7..b3555ee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,20 @@ jobs: - run: npm ci - run: npm test + - uses: actions/upload-artifact@v2 + with: + name: coverage + path: coverage/ + + coverage: + runs-on: ubuntu-latest + needs: [test] + if: ${{ success() && github.actor != 'dependabot[bot]' }} + steps: + - uses: actions/checkout@v2 + - uses: actions/download-artifact@v2 + with: + name: coverage - uses: paambaati/codeclimate-action@v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}