Skip to content

Commit c6ab486

Browse files
committed
chore(ci): only report coverage on Ubuntu with node 14.x
1 parent 3221871 commit c6ab486

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
1515
node-version: [12.x, 14.x, 16.x]
16+
include:
17+
- os: ubuntu-latest
18+
node-version: 14.x
19+
reportCoverage: true
1620
runs-on: ${{ matrix.os }}
1721

1822
steps:
@@ -34,5 +38,6 @@ jobs:
3438
- run: npm run semantic-release-dry-run
3539
- name: Codecov
3640
uses: codecov/[email protected]
41+
if: matrix.reportCoverage
3742
with:
3843
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)