Skip to content

Commit

Permalink
chore: update workflow codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 28, 2020
1 parent ab29a0e commit 8319e03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codecov.yml
Expand Up @@ -57,13 +57,13 @@ jobs:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: test
- name: Generate coverage report
run: npm test
env:
COVERAGE: "true"

- name: codecov
run: npm run codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down

0 comments on commit 8319e03

Please sign in to comment.