From 3f0827e357950a85c67d9bed3e7cc54b2ca1e221 Mon Sep 17 00:00:00 2001 From: Giles Roadnight Date: Sat, 21 May 2022 06:42:21 +0100 Subject: [PATCH] Remove codecov from scripts --- .github/workflows/build.yml | 4 +--- .github/workflows/create-release.yaml | 5 ++++- package.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) 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",