diff --git a/.github/workflows/publish_and_install.yml b/.github/workflows/publish_and_install.yml index 601f011f94..9328c71ea2 100644 --- a/.github/workflows/publish_and_install.yml +++ b/.github/workflows/publish_and_install.yml @@ -32,15 +32,16 @@ jobs: run: | npm install -g verdaccio npm install -g wait-on - nohup verdaccio & + tmp_registry_log=`mktemp` + nohup verdaccio &>$tmp_registry_log & wait-on http://localhost:4873 TOKEN_RES=$(curl -XPUT \ -H "Content-type: application/json" \ -d '{ "name": "test", "password": "test" }' \ 'http://localhost:4873/-/user/org.couchdb.user:test') TOKEN=$(echo "$TOKEN_RES" | jq -r '.token') - npm set registry "http://localhost:4873" - npm set //localhost:4873/:_authToken $TOKEN + npm set registry "http://0.0.0.0:4873" + npm set //0.0.0.0:4873/:_authToken $TOKEN - name: Windows dependencies if: matrix.os == 'windows-latest' run: npm install -g @angular/cli @@ -52,7 +53,7 @@ jobs: CI: true - name: Publish to Verdaccio run: | - yarn lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://0.0.0.0:4873 + yarn lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://localhost:4873 - name: Install via @vendure/create run: | mkdir -p $HOME/install