diff --git a/.github/actions/load-verdaccio-with-amplify-js/action.yml b/.github/actions/load-verdaccio-with-amplify-js/action.yml index 8b8a398fb0a..4ed9cba3b2e 100644 --- a/.github/actions/load-verdaccio-with-amplify-js/action.yml +++ b/.github/actions/load-verdaccio-with-amplify-js/action.yml @@ -29,6 +29,7 @@ runs: -H "Content-Type:application/json" \ -X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\", \"email\": \"$NPM_EMAIL\"}" \ $NPM_REGISTRY/-/user/org.couchdb.user:$NPM_USER 2>&1 | jq -r '.token') + which yarn && yarn --version yarn config set registry $NPM_REGISTRY npm set registry $NPM_REGISTRY npm set //"$NPM_REGISTRY_HOST"/:_authToken $TOKEN