Skip to content

Commit

Permalink
Merge pull request #32 from SySagar/dev
Browse files Browse the repository at this point in the history
chore(coverage): updated action scripts
  • Loading branch information
SySagar authored Jul 12, 2024
2 parents f91dacd + c88f499 commit a936975
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 108 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
run: npm install

- name: Run tests
run: npm run test-cov
run: npm run ui:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: apps/ui/coverage
215 changes: 108 additions & 107 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"docs:dev": "turbo dev --filter @groovy-box/docs",
"build": "turbo build",
"ui:build": "turbo build --filter @groovy-box/ui",
"ui:coverage": "turbo test-cov --filter @groovy-box/ui",
"check:up-to-date-types": "tcm --listDifferent ./apps/ui/lib",
"lint": "turbo lint",
"format": "turbo format",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"outputs": [".next/**", "!.next/cache/**"]
},
"lint": {},
"test-cov": {},
"format": {
"inputs": ["apps/**/*.{ts,tsx,js,jsx}", "packages/**/*.{ts,tsx,js,jsx}"]
}
Expand Down

0 comments on commit a936975

Please sign in to comment.