Compare commits

..
138 Commits
124 changed files with 6287 additions and 3448 deletions

No files matched your search

+1 -1
View File
@@ -10,4 +10,4 @@ liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['https://buy.stripe.com/3cs6rP6YA91sbbG5kk','https://jsd.012700.xyz/gh/jerryc127/CDN/Photo/wechat.jpg'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom: ['https://buy.stripe.com/3cs6rP6YA91sbbG5kk'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+14 -12
View File
@@ -1,19 +1,21 @@
name: npm publish
on:
release:
types: [created]
jobs:
build:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # OIDC 必須
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24' # trusted publishing 需要 >= 22.14
- run: npm install -g npm@latest
- run: npm install
- name: Publish
run: |
echo "repo=$GITHUB_REPOSITORY"
npm publish --access public
+1 -1
View File
@@ -1,2 +1,2 @@
.DS_Store
.DS_Store
node_modules/
Loaded 3 of 124 files, more files were not shown because too many files have changed in this diff. Show more