Skip to content

Commit

Permalink
Adding env var to .npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kengorab committed Aug 26, 2020
1 parent 9917c24 commit c260105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://npm.pkg.github.com/kengorab
//npm.pkg.github.com/:_authToken=${GITHUB_PACKAGE_REGISTRY_TOKEN}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"typescript": "3.5.3"
},
"scripts": {
"preinstall": "cat .npmrc",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down

0 comments on commit c260105

Please sign in to comment.