Skip to content

Merge branch 'b2-main' of b2network/aa-sdk into b2-main #28

Merge branch 'b2-main' of b2network/aa-sdk into b2-main

Merge branch 'b2-main' of b2network/aa-sdk into b2-main #28

Workflow file for this run

name: Publish
on:
push:
branches:
- b2-main
permissions: write-all
jobs:
publish:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PUBLISH_PAT }}
- name: Configure Git User
run: |
git config --global user.email "ci@b2network"
git config --global user.name "ci-$GITHUB_ACTOR"
- name: Setup .npmrc file to publish to GitHub Packages
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install modules
run: yarn install --frozen-lockfile
- name: Bootstrap lerna
run: yarn lerna bootstrap
- name: Build and Publish to GitHub Packages
run: yarn lerna publish patch --yes