Skip to content

Commit

Permalink
report on node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Feb 6, 2024
1 parent 22cbbcc commit be45922
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: cp ./data/configTesting.js ./data/config.js

- name: Code Climate (Before)
if: ${{ github.event_name != 'pull_request' && env.CC_TEST_REPORTER_ID != '' && matrix.node == 18 }}
if: ${{ github.event_name != 'pull_request' && env.CC_TEST_REPORTER_ID != '' && matrix.node == 20 }}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./codeclimate-test-reporter
chmod +x codeclimate-test-reporter
Expand All @@ -50,19 +50,19 @@ jobs:
run: c8 --reporter=lcov --reporter=text --reporter=text-summary mocha --timeout 30000 --exit

- name: Code Climate (After)
if: ${{ ! cancelled() && github.event_name != 'pull_request' && env.CC_TEST_REPORTER_ID != '' && matrix.node == 18 }}
if: ${{ github.event_name != 'pull_request' && env.CC_TEST_REPORTER_ID != '' && matrix.node == 20 }}
run: |
./codeclimate-test-reporter after-build -t lcov --exit-code $?
- name: Codecov
if: ${{ ! cancelled() && github.event_name != 'pull_request' && env.CODECOV_TOKEN != '' && matrix.node == 18 }}
if: ${{ github.event_name != 'pull_request' && env.CODECOV_TOKEN != '' && matrix.node == 20 }}
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}
- name: DeepSource
if: ${{ ! cancelled() && github.event_name != 'pull_request' && env.DEEPSOURCE_DSN != '' && matrix.node == 18 }}
if: ${{ github.event_name != 'pull_request' && env.DEEPSOURCE_DSN != '' && matrix.node == 20 }}
run: |
# Install deepsource CLI
curl https://deepsource.io/cli | sh
Expand Down

0 comments on commit be45922

Please sign in to comment.