Skip to content

Commit

Permalink
chore: add sponsor badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 27, 2023
1 parent f359ffc commit 39c1f82
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# These are supported funding model platforms

# github: [jaywcjlove]
# patreon: # Replace with a single Patreon username
# open_collective: # Replace with a single Open Collective username
# ko_fi: # Replace with a single Ko-fi username
# tidelift: npm/xxx
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
custom: https://jaywcjlove.github.io/#/sponsor
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,20 @@ jobs:
node-version: 18
registry-url: 'https://registry.npmjs.org'

- run: mkdir -p build
- run: npm i markdown-to-html-cli -g
- run: markdown-to-html --output build/index.html
# - run: mkdir -p build
# - run: npm i markdown-to-html-cli -g
# - run: markdown-to-html --output build/index.html

- name: Create idoc config.
run: |
cat > idoc.yml << EOF
site: "Image To URI {{version}}"
menus:
Home: index.html
EOF
- run: npm install [email protected] -g
- run: idoc --output="build"

- name: Generate Contributors Images
uses: jaywcjlove/github-action-contributors@main
Expand Down Expand Up @@ -56,7 +67,7 @@ jobs:
package-path: ./package.json
release: true
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/loading-cli@${{steps.changelog.outputs.version}}/file/README.md)
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/loading-cli@${{steps.changelog.outputs.version}}/file/README.md)
Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-md-editor/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# loading-cli

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![](https://jaywcjlove.github.io/sb/ico/npm.svg)](https://www.npmjs.com/package/loading-cli)
[![CI](https://github.com/jaywcjlove/loading-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/loading-cli/actions/workflows/ci.yml)

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.1.1",
"description": "Terminal loading effect.",
"homepage": "http://jaywcjlove.github.io/loading-cli",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"main": "lib/index.js",
"scripts": {
"test": "node test/test.js"
Expand Down

0 comments on commit 39c1f82

Please sign in to comment.