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 26, 2023
1 parent c644aec commit 781b574
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- run: npm install
Expand Down Expand Up @@ -73,7 +76,7 @@ jobs:
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
![No Dependencies](http://jaywcjlove.github.io/sb/status/no-dependencies.svg) [![npm package](https://img.shields.io/npm/v/@wcj/generate-password.svg)](https://www.npmjs.com/package/@wcj/generate-password)
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) ![No Dependencies](http://jaywcjlove.github.io/sb/status/no-dependencies.svg) [![npm package](https://img.shields.io/npm/v/@wcj/generate-password.svg)](https://www.npmjs.com/package/@wcj/generate-password)
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
Expand All @@ -85,7 +88,7 @@ jobs:
npm i @wcj/generate-password@${{steps.changelog.outputs.version}}
```
- run: npm publish --access public
- run: npm publish --access public --provenance
continue-on-error: true
working-directory: core
env:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generate Password

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
![No Dependencies](http://jaywcjlove.github.io/sb/status/no-dependencies.svg)
[![npm package](https://img.shields.io/npm/v/@wcj/generate-password.svg)](https://www.npmjs.com/package/@wcj/generate-password)
[![GitHub Actions CI](https://github.com/jaywcjlove/generate-password/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/generate-password/actions/workflows/ci.yml)
Expand Down Expand Up @@ -198,7 +199,7 @@ As always, thanks to our amazing contributors!
<img src="https://jaywcjlove.github.io/generate-password/CONTRIBUTORS.svg" />
</a>

Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
Made with [contributors](https://github.com/jaywcjlove/github-action-contributors).

## License

Expand Down
3 changes: 2 additions & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"version": "1.0.3",
"description": "Generate Password is a generating random and unique passwords.",
"homepage": "https://jaywcjlove.github.io/generate-password",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"unpkg": "./dist/generate-password.js",
"typings": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/jaywcjlove/generate-password.git"
"url": "https://github.com/jaywcjlove/generate-password.git"
},
"keywords": [
"generate-password",
Expand Down

0 comments on commit 781b574

Please sign in to comment.