Skip to content

Commit 92f7db9

Browse files
committed
fix: publish
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
1 parent 47942b3 commit 92f7db9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ jobs:
2121
- run: yarn build:sdk
2222
- run: yarn coverage
2323

24+
publish-npm:
25+
needs: build
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: actions/setup-node@v2
30+
with:
31+
node-version: 16
32+
registry-url: https://registry.npmjs.org/
33+
- run: yarn
34+
- run: yarn build
35+
- run: yarn build:sdk
36+
- run: yarn release
37+
env:
38+
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_NPM_TOKEN}}
39+
2440
publish-gpr:
2541
needs: build
2642
runs-on: ubuntu-latest
@@ -37,4 +53,4 @@ jobs:
3753
- run: echo registry=https://npm.pkg.github.com/uma >> .npmrc
3854
- run: npm publish
3955
env:
40-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
56+
NODE_AUTH_TOKEN: ${{secrets.PUBLISH_GITHUB_TOKEN}}

0 commit comments

Comments
 (0)