diff --git a/.github/workflows/publish_and_install.yml b/.github/workflows/publish_and_install.yml index f6b8d39e14..55b8596087 100644 --- a/.github/workflows/publish_and_install.yml +++ b/.github/workflows/publish_and_install.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest] node-version: [18.x, 20.x] fail-fast: false steps: @@ -36,13 +36,13 @@ jobs: 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 & - wait-on http://::1:4873 + wait-on http://localhost:4873 TOKEN_RES=$(curl -XPUT \ -H "Content-type: application/json" \ -d '{ "name": "test", "password": "test" }' \ - 'http://::1:4873/-/user/org.couchdb.user:test') + 'http://localhost:4873/-/user/org.couchdb.user:test') TOKEN=$(echo "$TOKEN_RES" | jq -r '.token') - npm set //::1:4873/:_authToken $TOKEN + npm set //localhost:4873/:_authToken $TOKEN - name: Windows dependencies if: matrix.os == 'windows-latest' run: npm install -g @angular/cli @@ -54,15 +54,15 @@ jobs: - name: Publish to Verdaccio run: | nohup verdaccio --config $HOME/.config/verdaccio/config.yaml & - wait-on http://::1:4873 - lerna publish prepatch --preid ci --no-push --no-git-tag-version --no-commit-hooks --force-publish "*" --yes --dist-tag ci --registry http://::1:4873 + wait-on http://localhost:4873 + 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 cd $HOME/install nohup verdaccio --config $HOME/.config/verdaccio/config.yaml & - wait-on http://::1:4873 - npm set registry=http://::1:4873 + wait-on http://localhost:4873 + npm set registry=http://localhost:4873 npm dist-tag ls @vendure/create npx @vendure/create@ci test-app --ci --use-npm --log-level info - name: Server smoke tests