diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2fd228e..29c9e64 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,6 +14,9 @@ jobs: node-version: 12 - run: npm ci - run: npm test + - run: bash <(curl -s https://codecov.io/bash) + env: + NODE_AUTH_TOKEN: ${{secrets.CODECOV_TOKEN}} publish-npm: needs: build @@ -27,11 +30,4 @@ jobs: - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} - upload-codecov: - needs: build - runs-on: ubuntu-latest - steps: - - run: bash <(curl -s https://codecov.io/bash) - env: - NODE_AUTH_TOKEN: ${{secrets.CODECOV_TOKEN}} \ No newline at end of file + NODE_AUTH_TOKEN: ${{secrets.npm_token}} \ No newline at end of file