-
Notifications
You must be signed in to change notification settings - Fork 16
59 lines (56 loc) · 2.11 KB
/
next.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Next Publication
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build next version
run: ./scripts/build-next
- name: Set up npm
run: printf '%s\n' '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' registry=https://registry.npmjs.org/ always-auth=true >> .npmrc
- name: Publish utils
run: npm publish --provenance --tag next --workspace=packages/utils
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish Ledger ICRC
run: npm publish --provenance --tag next --workspace=packages/ledger-icrc
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish Ledger ICP
run: npm publish --provenance --tag next --workspace=packages/ledger-icp
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish NNS-proto
run: npm publish --provenance --tag next --workspace=packages/nns-proto
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish NNS
run: npm publish --provenance --tag next --workspace=packages/nns
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish SNS
run: npm publish --provenance --tag next --workspace=packages/sns
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish CMC
run: npm publish --provenance --tag next --workspace=packages/cmc
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish ckBTC
run: npm publish --provenance --tag next --workspace=packages/ckbtc
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish ckETH
run: npm publish --provenance --tag next --workspace=packages/cketh
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Publish ic-management
run: npm publish --provenance --tag next --workspace=packages/ic-management
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}