Skip to content

npm publish wallet sdk Soroban #2

npm publish wallet sdk Soroban

npm publish wallet sdk Soroban #2

name: npm publish wallet sdk Soroban
on: [workflow_dispatch]
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn build
- run: yarn test:ci
- name: Publish to NPM
run: |
cd @stellar/typescript-wallet-sdk-soroban
yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}