Skip to content

Commit

Permalink
Save badge in badges folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarotta committed Jun 17, 2024
1 parent 19c9c1c commit 6e0d287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- run: npm run build --if-present
- run: npm test
- run: npm i coverage-badges-cli -g
- run: coverage-badges --output coverage/badges.svg
- run: coverage-badges --output badges/badges.svg

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./coverage
publish_dir: ./badges
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Coverage](./badges/badges.svg)

# fetch-toolkit
Fetch API Toolkit for increased productivity.

Expand Down

0 comments on commit 6e0d287

Please sign in to comment.