-
Notifications
You must be signed in to change notification settings - Fork 36
40 lines (37 loc) · 1.05 KB
/
npm-publish.yml
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
name: Publish
on:
workflow_dispatch:
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
registry-url: https://registry.npmjs.org/
- run: |
yarn
yarn bootstrap
yarn build
cd packages/chain-registry
node ./scripts/build.js
cd ../../
cd packages/assets
node ./scripts/build.js
cd ../../
cd packages/osmosis
node ./scripts/build.js
cd ../../
cd packages/juno
node ./scripts/build.js
cd ../../
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
git commit -am "build 🛠"
lerna publish --no-verify-access --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_SECRET}}
GH_TOKEN: ${{ secrets.GH_LERNA_PUBLISH_TOKEN }}