Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BI-48: Updated workflow to use CodeCov Coverage #18

Merged
merged 3 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ jobs:
run: npm run lint

- name: Test #Runs Jest Script
run: npm run test
run: npm run coverage

- name: Upload coverage to Codecov #Uploads the coverage report to Codecov
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}

- name: Build #Build the project
env:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest --maxWorkers=2",
"coverage": "jest --maxWorkers=2 --coverage",
"test": "jest --watch",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prettier": "npx prettier . --check",
"chromatic": "chromatic --exit-zero-on-changes",
"coverage": "jest --coverage"
"chromatic": "chromatic --exit-zero-on-changes"
},
"dependencies": {
"@as-integrations/next": "^2.0.2",
Expand Down
Loading