We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a95d6 commit ff972bfCopy full SHA for ff972bf
1 file changed
.github/workflows/react-compat.yml
@@ -36,8 +36,16 @@ jobs:
36
run: |
37
npm install --save-dev react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }}
38
39
- - name: Run tests
40
- run: npm test
+ - name: Run tests with coverage
+ run: npm run test:coverage
41
+
42
+ - name: Upload coverage to Codecov
43
+ if: matrix.react-version == '18'
44
+ uses: codecov/codecov-action@v4
45
+ with:
46
+ files: ./coverage/lcov.info
47
+ flags: unittests
48
+ fail_ci_if_error: false
49
50
- name: Type check
51
run: npm run type-check
0 commit comments