From bd6cbbdb35621d25ab19f2c9fbae4c45baa23b99 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah <36107+shazron@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:42:01 +0800 Subject: [PATCH] fix: update codecov from bash uploader to Github Action --- .github/workflows/node.js.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index c021c486..60078adc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,7 +31,6 @@ jobs: - run: npm test - name: upload coverage if: success() - run: curl -s https://codecov.io/bash | bash - env: - CODECOV_NAME: ${{ runner.os }} node.js ${{ matrix.node-version }} - shell: bash + uses: codecov/codecov-action@v3.1.1 + with: + name: ${{ runner.os }} node.js ${{ matrix.node-version }}