Skip to content

Commit 7860350

Browse files
committed
change workflow
1 parent d0fda5e commit 7860350

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/reviewing_changes.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,13 @@ jobs:
6262
run: |
6363
echo 'Publishing tar.gz to local registry'
6464
curl -o staging_package.tgz "$PACKAGE_URL"
65-
npm install [email protected] -g
66-
verdaccio &
65+
66+
for i in {1..20}; do
67+
if curl -s http://localhost:4873/; then break; fi
68+
echo "Waiting for Verdaccio..."; sleep 1;
69+
done
6770
npm config set registry http://localhost:4873
68-
npm install -g npm-cli-adduser && npm-cli-adduser -u dummy -p dummy -e [email protected] -r http://localhost:4873
71+
npx npm-cli-adduser -u dummy -p dummy -e [email protected] -r http://localhost:4873
6972
npm publish staging_package.tgz --registry http://localhost:4873/
7073
shell: bash
7174

0 commit comments

Comments
 (0)