1
0
Fork 0

CI tweaks for dependabot

* coverage as single job, do not run when dependabot PR
This commit is contained in:
Matthias Kretschmann 2021-09-01 20:09:41 +02:00
parent e2552d37c0
commit 5776238b6a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 14 additions and 0 deletions

View File

@ -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 }}