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 8d4276d commit 1c9975b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,9 +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/storejs
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
# 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/storejs
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
custom: https://jaywcjlove.github.io/sponsor.html
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
jobs:
build-storejs:
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 All @@ -25,6 +28,7 @@ jobs:
output: build
menus:
Cookie: https://jaywcjlove.github.io/cookie.js/
Sponsor: https://jaywcjlove.github.io/#/sponsor
giscus:
src: https://giscus.app/client.js
data-repo: jaywcjlove/store.js
Expand Down Expand Up @@ -90,7 +94,7 @@ jobs:
${{ steps.changelog.outputs.changelog }}
- name: 📦 storejs publish to NPM
run: npm publish
run: npm publish --access public --provenance
continue-on-error: true
env:
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'
1 change: 1 addition & 0 deletions README-zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
JavaScript localStorage
===

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![Downloads](https://img.shields.io/npm/dm/storejs.svg?style=flat)](https://www.npmjs.com/package/storejs)
[![Build and test storejs](https://github.com/jaywcjlove/store.js/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/store.js/actions/workflows/ci.yml)
[![Coverage Status](https://jaywcjlove.github.io/store.js/badges.svg)](https://jaywcjlove.github.io/store.js/lcov-report/)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
JavaScript localStorage
===

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
[![Downloads](https://img.shields.io/npm/dm/storejs.svg?style=flat)](https://www.npmjs.com/package/storejs)
[![Build and test storejs](https://github.com/jaywcjlove/store.js/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/store.js/actions/workflows/ci.yml)
[![Coverage Status](https://jaywcjlove.github.io/store.js/badges.svg)](https://jaywcjlove.github.io/store.js/lcov-report/)
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": "2.0.6",
"description": "Local storage localstorage package provides a simple API",
"homepage": "https://jaywcjlove.github.io/store.js/",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"author": "kenny wang <wowohoo@qq.com>",
"license": "MIT",
"main": "dist/store.cjs.js",
Expand Down

0 comments on commit 1c9975b

Please sign in to comment.