Skip to content

Commit

Permalink
Remove codecov from scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed May 21, 2022
1 parent ff6ce88 commit 3f0827e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- run: npm run build-release
5 changes: 4 additions & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
if: steps.release.outputs.released == 'true'
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3f0827e

Please sign in to comment.