From 398e29221a66522ca38d713afea84d394f8124c8 Mon Sep 17 00:00:00 2001
From: jaywcjlove <398188662@qq.com>
Date: Thu, 10 Aug 2023 15:52:21 +0800
Subject: [PATCH] chore: update workflows config.
---
.github/workflows/ci.yml | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 10cc485..d31cbcb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,10 +20,24 @@ jobs:
- run: cp -p dist/*html coverage
- run: cp -p dist/*js coverage
- - run: npm i coverage-badges-cli markdown-to-html-cli -g
- - run: coverage-badges
- - run: markdown-to-html --output coverage/index.html --favicon 'data:image/svg+xml,'
- - run: markdown-to-html --source README-zh.md --output coverage/index.zh.html --favicon 'data:image/svg+xml,'
+ - name: Create Coverage Badges
+ uses: jaywcjlove/coverage-badges-cli@main
+
+ - 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/cookie.js
+ favicon: data:image/svg+xml,
+
+ - name: Converts Markdown to HTML
+ uses: jaywcjlove/markdown-to-html-cli@main
+ with:
+ source: README-zh.md
+ output: coverage/index.zh.html
+ github-corners: https://github.com/jaywcjlove/cookie.js
+ favicon: data:image/svg+xml,
- name: Create Tag
id: create_tag