[local] Change how we pass npm auth token
This commit is contained in:
5
.github/workflows/publish-npm-release.yml
vendored
5
.github/workflows/publish-npm-release.yml
vendored
@@ -17,8 +17,9 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
uses: ./.github/actions/setup-js
|
uses: ./.github/actions/setup-js
|
||||||
|
|
||||||
|
- name: Store auth token in config file
|
||||||
|
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
||||||
|
|
||||||
- name: yarn publish
|
- name: yarn publish
|
||||||
run: yarn publish
|
run: yarn publish
|
||||||
working-directory: javascript
|
working-directory: javascript
|
||||||
env:
|
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
|
Reference in New Issue
Block a user