From ab73426926264ad5566a96fb1501a1a03e2954f4 Mon Sep 17 00:00:00 2001 From: Rafael Oleza Date: Wed, 11 Apr 2018 10:38:46 -0700 Subject: [PATCH] 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 --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index 5479d7d2..6e0891a4 100644 --- a/circle.yml +++ b/circle.yml @@ -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