Add NPM_TOKEN to the npmrc configuration to be able to publish the npm package from circleci

Reviewed By: mjesun

Differential Revision: D7586241

fbshipit-source-id: eaba25453c1aca00c07bf0eae961878e1de2e391
This commit is contained in:
Rafael Oleza 2018-04-11 10:38:46 -07:00 committed by Facebook Github Bot
parent d54a7044f2
commit ab73426926
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ jobs:
working_directory: packages/metro
command: yarn --no-progress
- save-cache: *save-cache
- run:
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run:
working_directory: ~/metro
command: npm run publish