From 8319e03026af113f29f225d09661f19f61f62d75 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 28 Mar 2020 14:42:02 +0800 Subject: [PATCH] chore: update workflow codecov --- .github/workflows/codecov.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 721f54671..5deffe7f7 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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 }}