mirror of
https://github.com/joel-st/kunkun-nostr-goto-repo.git
synced 2025-09-01 18:12:00 +00:00
Merge branch 'main' of github.com:joel-st/kunkun-nostr-goto-repo
This commit is contained in:
commit
ef89356079
27
.github/workflows/npm-publish.yml
vendored
Normal file
27
.github/workflows/npm-publish.yml
vendored
Normal 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}}
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user