diff --git a/scripts/e2e-sinopia-lego.config.yml b/scripts/e2e-sinopia-lego.config.yml new file mode 100644 index 000000000..ebf99e001 --- /dev/null +++ b/scripts/e2e-sinopia-lego.config.yml @@ -0,0 +1,23 @@ +storage: /tmp/sinopia-package-cache + +uplinks: + npmjs: + url: http://registry.npmjs.org/ + +packages: + 'react-native': + allow_access: $all + allow_publish: $all + + 'react-native-cli': + allow_access: $all + allow_publish: $all + + '*': + allow_access: $all + proxy: npmjs + +logs: + - {type: file, path: sinopia.log, format: pretty, level: http} + +max_body_size: '50mb' \ No newline at end of file diff --git a/scripts/e2e-test-lego.sh b/scripts/e2e-test-lego.sh index dc25e34f9..9c2d7553a 100755 --- a/scripts/e2e-test-lego.sh +++ b/scripts/e2e-test-lego.sh @@ -68,7 +68,7 @@ echo "======== npm config ========" ${NPM_PATH}npm config list echo "======== ======== ========" -${SINOPIA_PATH}sinopia --config $SCRIPTS/e2e-sinopia.config.yml & +${NPM_PATH}node ${SINOPIA_PATH}sinopia --config $SCRIPTS/e2e-sinopia-lego.config.yml & SINOPIA_PID=$! echo "=========== Sinopia is running, pid ${SINOPIA_PID}"