From 6a9ea4c3676e1c340e6a304fec2e19ebe3f4323b Mon Sep 17 00:00:00 2001 From: Hui Zhao Date: Wed, 24 Jul 2024 15:10:56 -0700 Subject: [PATCH] add email --- .../actions/load-verdaccio-with-amplify-js/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/load-verdaccio-with-amplify-js/action.yml b/.github/actions/load-verdaccio-with-amplify-js/action.yml index 029b7e438e1..acdfb22fd14 100644 --- a/.github/actions/load-verdaccio-with-amplify-js/action.yml +++ b/.github/actions/load-verdaccio-with-amplify-js/action.yml @@ -18,7 +18,7 @@ runs: - name: Install and run npm-cli-login shell: bash env: - NPM_REGISTRY: http://localhost:4873 + NPM_REGISTRY: http://localhost:4873/ NPM_USER: verdaccio NPM_PASS: verdaccio NPM_EMAIL: verdaccio@amplify.js @@ -26,13 +26,13 @@ runs: curl -s \ -H "Accept: application/json" \ -H "Content-Type:application/json" \ - -X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\"}" \ - $NPM_REGISTRY/-/user/org.couchdb.user:$NPM_USER \ + -X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\", \"email\": \"$NPM_EMAIL\"}" \ + $NPM_REGISTRY-/user/org.couchdb.user:$NPM_USER \ && curl -s \ -H "Accept: application/json" \ -H "Content-Type:application/json" \ - -X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\"}" \ - --user $NPM_USER:$NPM_PASS $NPM_REGISTRY/-/user/org.couchdb.user:$NPM_USER + -X PUT --data "{\"name\": \"$NPM_USER\", \"password\": \"$NPM_PASS\", \"email\": \"$NPM_EMAIL\"}" \ + --user $NPM_USER:$NPM_PASS $NPM_REGISTRY-/user/org.couchdb.user:$NPM_USER - name: Configure registry and git shell: bash working-directory: ./amplify-js