Skip to content

Commit

Permalink
Updating Codacy Coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
chronosis committed Jun 28, 2024
1 parent 2465dd5 commit 3562d1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
npm ci
gulp
npm run coverage
ls -la ./coverage
cat ./coverage/lcov.info
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
sudo chown -R $USER:$GROUP ~/.config || true
npm ci
gulp
npm run coverage
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}

- name: 'Report Coverage to Codacy'
uses: codacy/codacy-coverage-reporter-action@v1.3.0
Expand All @@ -62,7 +62,6 @@ jobs:
npm publish || true
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}

- name: Notify slack success
if: success()
Expand Down

0 comments on commit 3562d1d

Please sign in to comment.