Skip to content

Commit 474210c

Browse files
committed
ci: update workflows config.
1 parent 3ae4178 commit 474210c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@ jobs:
2222
- run: npm run type-check
2323
- run: npm run coverage
2424

25-
- name: Converts Markdown to HTML
26-
uses: jaywcjlove/markdown-to-html-cli@main
27-
with:
28-
source: README.md
29-
output: coverage/index.html
30-
github-corners: https://github.com/jaywcjlove/date.js
25+
- name: Create idoc config.
26+
run: |
27+
cat > idoc.yml << EOF
28+
site: "Date Extension {{version}}"
29+
menus:
30+
Home: index.html
31+
Sponsor: https://jaywcjlove.github.io/#/sponsor
32+
EOF
3133
34+
- run: npm install [email protected] -g
35+
- run: idoc --output="coverage"
36+
3237
- name: Create Coverage Badges
3338
uses: jaywcjlove/coverage-badges-cli@main
3439

0 commit comments

Comments
 (0)