Skip to content

Commit 40b7efc

Browse files
committed
add user to npm publish
1 parent 0db8b94 commit 40b7efc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/components-test-build-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,7 @@ jobs:
221221
run: |
222222
cd ./components
223223
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ./.npmrc
224+
echo "//registry.npmjs.org/:username=opentrons-engineering" >> ./.npmrc
225+
echo "//registry.npmjs.org/:[email protected]" >> ./.npmrc
224226
ls -R # Debug: View contents of ./components
225227
npm publish --access public

.github/workflows/shared-data-test-lint-deploy.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,4 +273,8 @@ jobs:
273273
env:
274274
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
275275
run: |
276-
cd ./shared-data && echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ./.npmrc && npm publish --access public
276+
cd ./shared-data
277+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ./.npmrc
278+
echo "//registry.npmjs.org/:username=opentrons-engineering" >> ./.npmrc
279+
echo "//registry.npmjs.org/:[email protected]" >> ./.npmrc
280+
npm publish --access public

0 commit comments

Comments
 (0)