Skip to content

chore(release): publish v2.0.0-rc.2 #10

chore(release): publish v2.0.0-rc.2

chore(release): publish v2.0.0-rc.2 #10

name: all-nodejs-packages-publish
env:
NODEJS_VERSION: v18.18.2
on:
push:
# Publish `v1.2.3` tags as releases.
tags:
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-and-publish-packages:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- run: git fetch --unshallow --prune
- uses: actions/[email protected]
with:
always-auth: true
node-version: ${{ env.NODEJS_VERSION }}
registry-url: 'https://registry.npmjs.org'
- name: ./tools/ci.sh
run: ./tools/ci.sh
env:
DEV_BUILD_DISABLED: false
FULL_BUILD_DISABLED: false
JEST_TEST_RUNNER_DISABLED: true
TAPE_TEST_RUNNER_DISABLED: true
- name: lerna-publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "hyperledger-ghci"
npm whoami
yarn lerna publish from-git --yes --loglevel=debug --ignore-scripts