Skip to content

Commit

Permalink
fix(test): add coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Dec 5, 2023
1 parent bff9892 commit 962eb86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ jobs:
run: yarn typecheck

- name: 🧪 Test
run: yarn test
run: yarn test:cov

- name: 📊 Codecov
uses: codecov/codecov-action@v3
with:
directory: coverage
verbose: true

- name: 🔨 Build
uses: borales/actions-yarn@v4
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"build:docs": "storybook build --docs",
"build:storybook": "storybook build",
"test": "vitest",
"test:cov": "vitest --coverage",
"typecheck": "vitest typecheck",
"storybook": "storybook dev",
"sb": "yarn storybook",
Expand Down

0 comments on commit 962eb86

Please sign in to comment.