[local] Change how we pass npm auth token

This commit is contained in:
Nick Gerleman
2023-06-29 13:04:08 -07:00
parent 1b3ddbbf4a
commit 9a50bd7d61

View File

@@ -17,8 +17,9 @@ jobs:
- name: Setup
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
run: yarn publish
working-directory: javascript
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}