Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: CI include new coverage badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Oct 1, 2023
1 parent 7cde799 commit 59fc391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ jobs:
- name: Install Dependencies
run: npm ci # or use "npm install" if you don't have a lock file

- name: Test
run: npm test && npx jest-coverage-badges # adjust this to your project's test command

- name: Semantic Release
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
GITHUB_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run docs -- --hideInPageTOC true --hideBreadcrumbs true && cp -r docs/* . && npx semantic-release
run: npm test && npx jest-coverage-badges && npm run docs -- --hideInPageTOC true --hideBreadcrumbs true && cp -r docs/* . && npx semantic-release
5 changes: 1 addition & 4 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ export default {
{
assets: [
"package.json",
"coverage/badge-branches.svg",
"coverage/badge-functions.svg",
"coverage/badge-lines.svg",
"coverage/badge-statements.svg",
"coverage/*.svg",
"package-lock.json",
"CHANGELOG.md",
"README.md",
Expand Down

0 comments on commit 59fc391

Please sign in to comment.