Skip to content

Commit

Permalink
add email
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Jul 24, 2024
1 parent f8400b9 commit 6a9ea4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/load-verdaccio-with-amplify-js/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ 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: [email protected]
run: |
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
Expand Down

0 comments on commit 6a9ea4c

Please sign in to comment.