chore: prepare for npm publishing as @gkucmierz/bitcoin-logo

This commit is contained in:
2026-03-03 09:24:00 +00:00
parent 2b6e9077c7
commit 5e4fa25fc4
6 changed files with 131 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
name: npm-publish
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}