Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 17, 2019
1 parent 36212ad commit 260352b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/integration-tests/e2e-babel.sh
Expand Up @@ -21,7 +21,7 @@ cd ../..
#==============================================================================#

startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
yarn upgrade -s @babel
yarn upgrade --scope @babel

# Test
make test-ci
Expand Down
1 change: 1 addition & 0 deletions scripts/integration-tests/publish-local.sh
Expand Up @@ -26,6 +26,7 @@ initializeE2Egit
make bootstrap-only

startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
loginLocalRegistry

I_AM_USING_VERDACCIO=I_AM_SURE make publish-test

Expand Down
2 changes: 2 additions & 0 deletions scripts/integration-tests/utils/local-registry.sh
Expand Up @@ -19,7 +19,9 @@ function startLocalRegistry {
# Set registry to local registry
npm set registry "$custom_registry_url"
yarn config set registry "$custom_registry_url"
}

function loginLocalRegistry {
# Login so we can publish packages
(cd && npx npm-auth-to-token@1.0.0 -u user -p password -e user@example.com -r "$custom_registry_url")
}
Expand Down

0 comments on commit 260352b

Please sign in to comment.