diff --git a/.github/workflows/csv-writer.yml b/.github/workflows/csv-writer.yml index 24f6a86..a126580 100644 --- a/.github/workflows/csv-writer.yml +++ b/.github/workflows/csv-writer.yml @@ -15,9 +15,6 @@ jobs: with: cache: npm node-version: '14.5' - - run: |- - curl -L https://github.com/codeclimate/codeclimate/archive/master.tar.gz | tar xvz - cd codeclimate-* && sudo make install - run: npm install - run: npm run lint - run: npm run test:it @@ -26,6 +23,9 @@ jobs: # FIXME: coveralls fails to report the result #- run: cat coverage/lcov.info | node_modules/.bin/coveralls - - run: codeclimate-test-reporter < coverage/lcov.info + - run: |- + curl -L https://github.com/codeclimate/codeclimate/archive/master.tar.gz | tar xvz + cd codeclimate-* && sudo make install + codeclimate analyze env: CODECLIMATE_REPO_TOKEN: ${{ secrets.CODECLIMATE_REPO_TOKEN }}