diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c80971e..213c010 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,4 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run build-release - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 \ No newline at end of file + - run: npm run build-release \ No newline at end of file diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 716b687..c34cd6a 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -35,4 +35,7 @@ jobs: if: steps.release.outputs.released == 'true' uses: JS-DevTools/npm-publish@v1 with: - token: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + token: ${{ secrets.NPM_TOKEN }} + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 \ No newline at end of file diff --git a/package.json b/package.json index 1ae19db..88b6a08 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "test": "jest --ci --coverage && tsc --noemit", "watch-test": "jest --watch", "prebuild-release": "npm run clean", - "build-release": "concurrently --kill-others-on-fail npm:test npm:lint npm:build npm:build:example npm:verify-markdown && codecov", + "build-release": "concurrently --kill-others-on-fail npm:test npm:lint npm:build npm:build:example npm:verify-markdown", "prewrite-markdown": "npm run build", "preverify-markdown": "npm run build", "write-markdown": "node dist/write-markdown -f package.json -p markdownConfig",