Skip to content

docs: add npub to README for bidirectional Nostr identity binding #40

docs: add npub to README for bidirectional Nostr identity binding

docs: add npub to README for bidirectional Nostr identity binding #40

Workflow file for this run

name: CI
on:
push:
branches: [main, dev, 'feat/**', 'fix/**', 'chore/**']
pull_request:
branches: [main, dev]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm test
release:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
cache: npm
registry-url: https://registry.npmjs.org
- name: Upgrade npm for trusted publishing support
run: npm install -g npm@latest
- run: npm ci
- run: npm run build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true