Skip to content

Commit

Permalink
chore: update CI workflow to include Code Climate and NX Cache
Browse files Browse the repository at this point in the history
Refactor the CI workflow in the `.github/workflows/ci.yml` file to include steps for Code Climate code coverage and NX Cache saving. This will improve the code quality analysis and caching mechanism for the project.
  • Loading branch information
valerymelou committed May 10, 2024
1 parent 1421968 commit 6cab8d3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,19 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info

- name: Code Coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov
- name: Save NX Cache
id: nx-cache-save
uses: actions/cache/save@v4
with:
path: |
.nx
key: ${{ steps.nx-cache-restore.outputs.cache-primary-key }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# valerymelou.com

[![CI](https://github.com/valerymelou/valerymelou.com/actions/workflows/ci.yml/badge.svg)](https://github.com/valerymelou/valerymelou.com/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/valerymelou/valerymelou.com/branch/develop/graph/badge.svg?token=6tCbXBdUFt)](https://codecov.io/gh/valerymelou/valerymelou.com)
[![CI](https://github.com/valerymelou/valerymelou.com/actions/workflows/ci.yml/badge.svg)](https://github.com/valerymelou/valerymelou.com/actions/workflows/ci.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/2124e70670eb3a5ba26a/maintainability)](https://codeclimate.com/github/valerymelou/valerymelou.com/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/2124e70670eb3a5ba26a/test_coverage)](https://codeclimate.com/github/valerymelou/valerymelou.com/test_coverage)

All the code powering my personal website: https://valerymelou.com.

0 comments on commit 6cab8d3

Please sign in to comment.