Skip to content

Commit 0f13482

Browse files
committed
ci: move codecov to tests phase
1 parent 66aaf12 commit 0f13482

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/nodejs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
run: yarn test
2424
env:
2525
CI: true
26-
- name: Build
27-
run: yarn build
26+
- name: Send codecov.io stats
27+
if: matrix.node-version == '12.x'
28+
run: bash <(curl -s https://codecov.io/bash) || echo ''
2829

2930
publish:
3031
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta'
@@ -45,5 +46,4 @@ jobs:
4546
env:
4647
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4748
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
- name: Send codecov.io stats
49-
run: yarn coverage && bash <(curl -s https://codecov.io/bash);
49+

0 commit comments

Comments
 (0)