Browse Source

CircleCI Updated to use NPM Token

ags131 3 years ago
parent
commit
16ff2b2b8e
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      circle.yml

+ 3
- 2
circle.yml View File

@@ -1,9 +1,10 @@
1 1
 machine:
2 2
   node:
3 3
     version: '6.1.0'
4
+
4 5
 deployment:
5 6
   npm:
6 7
     branch: master
7 8
     commands:
8
-      - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
9
-      - npm run 2npm
9
+      - echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
10
+      - npm run 2npm