Skip to content

Commit b341b09

Browse files
committed
remove npm install
1 parent 07214a5 commit b341b09

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,11 @@ jobs:
1212
contents: write
1313
id-token: write
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- name: Test Converts markdown text to HTML
16+
uses: ./
1717
with:
18-
node-version: 18
19-
registry-url: 'https://registry.npmjs.org'
20-
21-
- run: npm install
22-
- run: npm run build
23-
- run: npm run package
24-
- run: npm run coverage
25-
- run: |
26-
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,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>"
18+
source: README-zh.md
19+
output: coverage/action.html
20+
style: 'body { margin: 0; }'
21+
github-corners: https://github.com/jaywcjlove/markdown-to-html-cli
22+
favicon: data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>

0 commit comments

Comments
 (0)