Skip to content

Commit

Permalink
build: add codeclimate coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshpastakia committed Aug 24, 2024
1 parent 4c882d8 commit acece38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .codeclimate.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
".gitignore",
".npmignore",
".codeclimate.json",
"**/darkBase.ts",
"**/lightBase.ts",
"**/palettes.ts",
"**/world.svg.ts",
"**/_fileType.ts",
"**/_countries.ts",
"**/hijri-date.js"
]
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
run: |
yarn dist
# - name: Run coverage
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.COVERAGE_TOKEN }}
# with:
# coverageCommand: yarn test --coverage --json --outputFile=./.storybook/jest-test-results.json
# Collect test coverage
- name: Run coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.COVERAGE_TOKEN }}
with:
coverageCommand: yarn test --coverage --json --outputFile=./.storybook/jest-test-results.json

# Runs a set of commands using the runners shell
- name: Build storybook
Expand Down

0 comments on commit acece38

Please sign in to comment.