diff --git a/.github/workflows/publish_and_install.yml b/.github/workflows/publish_and_install.yml index e481536526..918bbe9cf4 100644 --- a/.github/workflows/publish_and_install.yml +++ b/.github/workflows/publish_and_install.yml @@ -33,10 +33,12 @@ jobs: npm install -g verdaccio npm install -g verdaccio-auth-memory npm install -g verdaccio-memory + npm install -g wait-on tmp_registry_log=`mktemp` mkdir -p $HOME/.config/verdaccio cp -v ./.github/workflows/verdaccio/config.yaml $HOME/.config/verdaccio/config.yaml nohup verdaccio --config $HOME/.config/verdaccio/config.yaml &>$tmp_registry_log & + wait-on http://localhost:4873 TOKEN=$(curl -XPUT \ -H "Content-type: application/json" \ -d '{ "name": "test", "password": "test" }' \