Skip to content

Commit 1b3eaca

Browse files
committed
chore: add sponsor badge.
1 parent c1d8868 commit 1b3eaca

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/FUNDING.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# These are supported funding model platforms
22

3-
github: [jaywcjlove]
4-
patreon: # Replace with a single Patreon username
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # npm/magic-input
8-
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
custom: https://jaywcjlove.github.io/sponsor.html
3+
# github: [jaywcjlove]
4+
# patreon: # Replace with a single Patreon username
5+
# open_collective: # Replace with a single Open Collective username
6+
# ko_fi: # Replace with a single Ko-fi username
7+
# tidelift: npm/xxx
8+
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
custom: https://jaywcjlove.github.io/#/sponsor

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ on:
77
jobs:
88
build-deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v3
1215
- uses: actions/setup-node@v3
1316
with:
14-
node-version: 16
17+
node-version: 18
1518
registry-url: 'https://registry.npmjs.org'
1619

1720
- run: npm install
@@ -58,7 +61,7 @@ jobs:
5861
5962
6063
- name: 📦 magic-input publish to NPM
61-
run: npm publish
64+
run: npm publish --access public --provenance
6265
continue-on-error: true
6366
env:
6467
NODE_AUTH_TOKEN: '${{ secrets.NPM_TOKEN }}'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# magic-input
33

4-
4+
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)
55
[![Downloads](https://img.shields.io/npm/dm/magic-input.svg?style=flat)](https://www.npmjs.com/package/magic-input)
66
[![CI](https://github.com/jaywcjlove/magic-input/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/magic-input/actions/workflows/ci.yml)
77

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "2.0.0",
44
"description": "CSS3 Styles for Checkbox and Radio Button inputs look prettier.",
55
"homepage": "https://jaywcjlove.github.io/magic-input",
6+
"funding": "https://jaywcjlove.github.io/#/sponsor",
67
"main": "index.js",
78
"scripts": {
89
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)