We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a480d32 + 7149e43 commit f3596d1Copy full SHA for f3596d1
1 file changed
.github/workflows/tests-e2e.yml
@@ -109,10 +109,11 @@ jobs:
109
curl -sf http://localhost:4873 > /dev/null 2>&1 && break
110
sleep 1
111
done
112
- # Create user for publishing
113
- curl -s -XPUT -H "Content-Type: application/json" \
+ # Create user and save auth token for publishing
+ TOKEN=$(curl -s -XPUT -H "Content-Type: application/json" \
114
-d '{"name":"test","password":"test"}' \
115
- http://localhost:4873/-/user/org.couchdb.user:test > /dev/null
+ http://localhost:4873/-/user/org.couchdb.user:test | jq -r '.token')
116
+ echo "//localhost:4873/:_authToken=\"${TOKEN}\"" >> ~/.npmrc
117
echo "✅ Verdaccio is running on http://localhost:4873"
118
119
- name: 🧪 Run E2E tests
0 commit comments