Skip to content

Commit 3862fe2

Browse files
authored
Merge pull request #271 from fs-webdev/jfrog
trying to update to jfrog
2 parents f778c78 + 5c850e9 commit 3862fe2

File tree

4 files changed

+1700
-1709
lines changed

4 files changed

+1700
-1709
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ node_js:
33
- "12"
44
before_install:
55
- echo -e "machine github.com\n login $CI_USER_TOKEN" > ~/.netrc
6-
- echo "//repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/:_authToken=${NPM_PUBLISH_TOKEN}" >> ~/.npmrc
7-
- echo "@fs:registry=https://repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/" >> ~/.npmrc
6+
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> ~/.npmrc
7+
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> ~/.npmrc
88
# because this is a weird monorepo and we cd into and out of directories, this is what worked for travis to publish
9-
- echo "//repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/:_authToken=${NPM_PUBLISH_TOKEN}" >> packages/react-scripts/.npmrc
10-
- echo "@fs:registry=https://repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/" >> packages/react-scripts/.npmrc
9+
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> packages/react-scripts/.npmrc
10+
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> packages/react-scripts/.npmrc
1111
install:
1212
- "npm i"
1313
- "cd packages/react-scripts"
@@ -20,8 +20,8 @@ script:
2020
- npx create-react-app fresh-cra-template --use-npm --scripts-version file:${TRAVIS_BUILD_DIR}/packages/react-scripts/ --template @fs/cra-template
2121
- cd fresh-cra-template
2222
# this is necessary so we can do some additional npm installs in the freshCraTemplateUpdate.sh script
23-
- echo "//repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/:_authToken=${NPM_PUBLISH_TOKEN}" >> ${HOME}/tmp/fresh-cra-template/.npmrc
24-
- echo "@fs:registry=https://repo.churchofjesuschrist.org/artifactory/api/npm/npm-fhd/" >> ${HOME}/tmp/fresh-cra-template/.npmrc
23+
- echo "//familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/:_authToken=${NPM_PUBLISH_TOKEN}" >> ${HOME}/tmp/fresh-cra-template/.npmrc
24+
- echo "@fs:registry=https://familysearch.jfrog.io/familysearch/api/npm/fs-npm-prod-virtual/" >> ${HOME}/tmp/fresh-cra-template/.npmrc
2525
- CI=true npm test
2626
- npm run build
2727
before_deploy: "cd ${TRAVIS_BUILD_DIR}/packages/react-scripts"

0 commit comments

Comments
 (0)