Skip to content

Commit 4304ba8

Browse files
authored
Update build step with npm token (#503)
1 parent 3e4e7a1 commit 4304ba8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/new-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ jobs:
6464

6565
- name: Add Readme to package
6666
run: cp README.md packages/millicast-sdk/README.md
67-
67+
- name: Login to npm
68+
run: |
69+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
6870
- name: Publish package
6971
working-directory: './packages/millicast-sdk'
7072
run: |
7173
npm run build
7274
npm publish --access public
7375
env:
74-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
76+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)