mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
CI tweaks for dependabot
* coverage as single job, do not run when dependabot PR
This commit is contained in:
parent
e2552d37c0
commit
5776238b6a
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user