Skip to content

Commit edd75c0

Browse files
updated push-deploy-website.yml
1 parent d077837 commit edd75c0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/push-deploy-website.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@ jobs:
4646
- uses: webfactory/[email protected]
4747
with:
4848
ssh-private-key: ${{ secrets.DEPLOY_GITHUB_PAGES }}
49+
50+
- name: Run Tests and Upload Coverage to Codecov
51+
run: |
52+
pnpm install --frozen-lockfile
53+
pnpm run test
54+
env:
55+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
56+
57+
- name: Upload Coverage to Codecov
58+
uses: codecov/codecov-action@v4
59+
with:
60+
token: ${{ secrets.CODECOV_TOKEN }}
61+
verbose: true
62+
4963
- name: Deploy to GitHub Pages
5064
env:
5165
USE_SSH: true
@@ -62,3 +76,4 @@ jobs:
6276
echo "Deployment failed"
6377
exit 1
6478
fi
79+

0 commit comments

Comments
 (0)