Skip to content

Commit 1b44b4d

Browse files
committed
Fixing fork testing issues
1 parent 3ee5bdf commit 1b44b4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ before_install:
1111
# Yarn defaults to an old version, make sure we
1212
# get an up to date version
1313
- npm install -g yarn
14-
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > $HOME/.npmrc
14+
- '[ "${NPM_TOKEN+x}" ] && { echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > $HOME/.npmrc } || echo "Skipping .npmrc creation";'
1515
before_script:
1616
- cp config/ci.config.json config/project.json
1717
script:
@@ -37,4 +37,5 @@ deploy:
3737
provider: script
3838
script: yarn release --canary
3939
on:
40+
repo: firebase/firebase-js-sdk
4041
branch: master

0 commit comments

Comments
 (0)