Merge branch 'main' of github.com:joel-st/kunkun-nostr-goto-repo

This commit is contained in:
Lone 2025-03-13 17:27:09 +00:00
commit ef89356079
2 changed files with 28 additions and 1 deletions

27
.github/workflows/npm-publish.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: NPM Package Publish
on:
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- name: Configure npm credentials
uses: actions/setup-node@v4
with:
node-version: '22.14.0'
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to NPM
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

View File

@ -1,7 +1,7 @@
{
"$schema": "https://schema.kunkun.sh",
"name": "kunkun-ext-nostr-goto-repo",
"version": "1.0.0",
"version": "0.0.10",
"license": "CC0-1.0",
"type": "module",
"kunkun": {