Skip to content

Commit 66aaf12

Browse files
committed
ci: fix coverage reports
1 parent cab5393 commit 66aaf12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: yarn build
2828

2929
publish:
30-
# if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta'
30+
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta'
3131
needs: [tests]
3232
runs-on: ubuntu-latest
3333
steps:
@@ -46,4 +46,4 @@ jobs:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4848
- name: Send codecov.io stats
49-
run: bash <(curl -s https://codecov.io/bash);
49+
run: yarn coverage && bash <(curl -s https://codecov.io/bash);

0 commit comments

Comments
 (0)