Skip to content

docs: update README

docs: update README #6

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.GITHUB_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://npm.pkg.github.com'
scope: '@b2network'
- name: Install modules
run: yarn install --frozen-lockfile
- name: Build and Publish to GitHub Packages
run: yarn lerna publish patch --yes