forked from RafaelAPB/blockchain-integration-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.08 KB
/
all-nodejs-packages-publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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/checkout@v4.1.1
- run: git fetch --unshallow --prune
- uses: actions/setup-node@v4.0.2
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 "npm-ci@hyperledger.org"
git config --global user.name "hyperledger-ghci"
npm whoami
yarn lerna publish from-git --yes --loglevel=debug