Skip to content

Commit

Permalink
ci: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 27, 2023
1 parent 3ae4178 commit 474210c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@ jobs:
- run: npm run type-check
- run: npm run coverage

- name: Converts Markdown to HTML
uses: jaywcjlove/markdown-to-html-cli@main
with:
source: README.md
output: coverage/index.html
github-corners: https://github.com/jaywcjlove/date.js
- name: Create idoc config.
run: |
cat > idoc.yml << EOF
site: "Date Extension {{version}}"
menus:
Home: index.html
Sponsor: https://jaywcjlove.github.io/#/sponsor
EOF
- run: npm install idoc@1.27.2 -g
- run: idoc --output="coverage"

- name: Create Coverage Badges
uses: jaywcjlove/coverage-badges-cli@main

Expand Down

0 comments on commit 474210c

Please sign in to comment.