Skip to content

Commit

Permalink
fix: test npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-li-at-salesforce committed Jun 7, 2024
1 parent 1419006 commit 47f1f59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:
response=$(curl -s -X PUT "${{env.REGISTRY_URL}}/-/user/org.couchdb.user:${{env.NPM_USERNAME}}" \
-H "Content-Type: application/json" \
-d '{
"_id": "org.couchdb.user:${{env.NPM_USERNAME}}",
"name": "${{env.NPM_USERNAME}}",
"_id": "org.couchdb.user:hli",
"name": "hli",
"roles": [],
"type": "user",
"password": ${{env.NPM_PASSWORD}},
"email": ${{env.NPM_EMAIL}}
"password": "928318",
"email": "[email protected]"
}')
token=$(echo $response | jq -r '.token')
echo "GENERATED_TOKEN: $token"
Expand Down

0 comments on commit 47f1f59

Please sign in to comment.