Skip to content

Commit 5855064

Browse files
authored
Update codecov.yml
1 parent bc4be6f commit 5855064

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,26 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v4
1616
with:
17-
fetch-depth: 0
17+
fetch-depth: 0
18+
path: moadong/Moadong/frontend
1819

1920
- name: Set up Node
2021
uses: actions/setup-node@v4
22+
with:
23+
node-version: 22.12.0
2124

2225
- name: Install dependencies
26+
working-directory: moadong/Moadong/frontend
2327
run: npm install
2428

2529
- name: Run tests
30+
working-directory: moadong/Moadong/frontend
2631
run: npx jest --coverage
2732

2833
- name: Upload results to Codecov
2934
uses: codecov/codecov-action@v5
35+
with:
36+
files: ./coverage/lcov.info
37+
flags: unittests
38+
name: codecov-coverage
39+
fail_ci_if_error: true

0 commit comments

Comments
 (0)