updated github workflow

This commit is contained in:
12inchpenguin 2025-04-01 16:39:35 +03:00
parent 2fa3aa6c28
commit b71946d3be
2 changed files with 7 additions and 2 deletions

View File

@ -26,7 +26,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
- name: Publish to npm - name: Publish to npm as alpha
run: npm publish --tag alpha --access public run: npm publish --tag alpha --access public
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm as latest
run: npm publish --tag latest --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -1,6 +1,6 @@
{ {
"name": "@debros/network", "name": "@debros/network",
"version": "0.0.12-alpha", "version": "0.0.13-alpha",
"description": "Debros network core functionality for IPFS, libp2p and OrbitDB", "description": "Debros network core functionality for IPFS, libp2p and OrbitDB",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",