-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update CI workflow to include Code Climate and NX Cache
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
1 parent
1421968
commit 6cab8d3
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |