Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 7dcb067

Browse files
Merge pull request #4 from literallycanvas/chore/npm-login
chore: add npm login to build config
2 parents c174ca5 + 513fd0e commit 7dcb067

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
- run:
1919
name: Versions
2020
command: node -v && npm -v && yarn -v
21+
- run:
22+
name: NPM Auth
23+
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
2124
- run:
2225
name: Install dependencies
2326
command: yarn install
@@ -43,6 +46,9 @@ jobs:
4346
- run:
4447
name: Versions
4548
command: node -v && npm -v && yarn -v
49+
- run:
50+
name: NPM Auth
51+
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
4652
- run:
4753
name: Install dependencies
4854
command: yarn install

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"test": "jest --no-cache",
1313
"test:coverage": "jest --no-cache --coverage",
1414
"test:watch": "jest --no-cache --watch",
15-
"build": "webpack -d --watch",
15+
"build": "webpack -d",
16+
"build:watch": "webpack -d --watch",
1617
"prettier": "prettier --write \"src/**/*.js\"",
1718
"release": "semantic-release",
1819
"lint": "eslint src"

0 commit comments

Comments
 (0)