text: expose correct registry to environment
This commit is contained in:
parent
a540c402a9
commit
f44cedbaa7
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p .tmp/modules
|
||||
|
||||
./node_modules/.bin/sinopia ./tests/config.yml & echo $! >> .tmp/sinopia.pid
|
||||
@ -12,4 +14,4 @@ cp ~/.npmrc .tmp/.npmrc
|
||||
|
||||
cp tests/.npmrc ~/.npmrc
|
||||
|
||||
npm config set registry http://localhost:4873/
|
||||
npm config set registry http://127.0.0.1:4873/
|
||||
|
@ -23,6 +23,7 @@ module.exports = function (test, createModule) {
|
||||
nixt()
|
||||
.cwd(cwd)
|
||||
.env('CI', true)
|
||||
.env('npm_config_registry', 'http://127.0.0.1:4873/')
|
||||
.exec('git commit --allow-empty -m "' + message + '"')
|
||||
.run('npm run prepublish')
|
||||
.code(code)
|
||||
|
Loading…
x
Reference in New Issue
Block a user