Skip to content

Commit

Permalink
test: create user
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-li-at-salesforce committed Jun 6, 2024
1 parent 6b6e247 commit 029eeb1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,27 @@ jobs:
localNPMRegistry:
name: LocalNPM
runs-on: ubuntu-latest
env:
REGISTRY_URL: 'http://localhost:4873'
NPM_USERNAME: 'hli'
NPM_PASSWORD: '928318'
NPM_EMAIL: '[email protected]'

steps:
- run: docker pull verdaccio/verdaccio
- run: docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
- name: Publish user to Verdaccio
run: |
curl -X PUT "http://localhost:4873/-/user/org.couchdb.user:hli" \
-H "Content-Type: application/json" \
-d '{
"_id": "org.couchdb.user:hli",
"name": "hli",
"roles": [],
"type": "user",
"password": "928318",
"email": "[email protected]"
}'
release:
name: Release
Expand Down

0 comments on commit 029eeb1

Please sign in to comment.