Skip to content

Commit 3095a30

Browse files
committed
Fix workflow
1 parent 4e9c13e commit 3095a30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/reviewing_changes.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ jobs:
6363
echo 'Publishing tar.gz to local registry'
6464
curl -o staging_package.tgz "$PACKAGE_URL"
6565
66-
for i in {1..20}; do
67-
if curl -s http://localhost:4873/; then break; fi
68-
echo "Waiting for Verdaccio..."; sleep 1;
66+
for i in {1..30}; do
67+
if curl -sf http://localhost:4873/-/ping > /dev/null; then break; fi
68+
echo "Waiting for Verdaccio to be ready..."; sleep 2;
6969
done
7070
npm config set registry http://localhost:4873
71-
npx npm-cli-adduser -u dummy -p dummy -e [email protected] -r http://localhost:4873
71+
(echo "dummy"; echo "dummy"; echo "[email protected]") | npm adduser --registry http://localhost:4873
7272
npm publish staging_package.tgz --registry http://localhost:4873/
7373
shell: bash
7474

0 commit comments

Comments
 (0)