diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index acb71ee62..6228d59b1 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -12,15 +12,11 @@ jobs:
contents: write
id-token: write
steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
+ - name: Test Converts markdown text to HTML
+ uses: ./
with:
- node-version: 18
- registry-url: 'https://registry.npmjs.org'
-
- - run: npm install
- - run: npm run build
- - run: npm run package
- - run: npm run coverage
- - run: |
- node packages/cli/lib/cli.js --output coverage/index.html --github-corners https://github.com/jaywcjlove/markdown-to-html-cli --style "body { margin: 0; }" --favicon "data:image/svg+xml,"
\ No newline at end of file
+ source: README-zh.md
+ output: coverage/action.html
+ style: 'body { margin: 0; }'
+ github-corners: https://github.com/jaywcjlove/markdown-to-html-cli
+ favicon: data:image/svg+xml,
\ No newline at end of file