Skip to content

fix(consensus): reduce output-only messaging,fix jmt error (#1155) #58

fix(consensus): reduce output-only messaging,fix jmt error (#1155)

fix(consensus): reduce output-only messaging,fix jmt error (#1155) #58

Workflow file for this run

---
# Publishing all NPM packages to the npm registry when the version number changes
# See https://github.com/marketplace/actions/npm-publish for more information
name: Publish Packages to npmjs
on:
push:
branches: development
jobs:
# Publish the TypeScript bindings to the NPM registry
publish-typescript-bindings:
runs-on: ubuntu-latest
defaults:
run:
working-directory: bindings
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: bindings
access: 'public'
# Publish the Tari Wallet Daemon client to the NPM registry
publish-wallet-daemon-client:
runs-on: ubuntu-latest
needs: publish-typescript-bindings
defaults:
run:
working-directory: clients/javascript/wallet_daemon_client
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm ci
- run: npm run build
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: clients/javascript/wallet_daemon_client
access: 'public'