Pārlūkot izejas kodu

chore: Remove macos publish install workflow

Some issue is preventing the verdaccio install
from working. Could be related to
https://github.com/actions/runner-images/issues/6383
Michael Bromley 1 gadu atpakaļ
vecāks
revīzija
4c091fb6d8
1 mainītis faili ar 8 papildinājumiem un 8 dzēšanām
  1. 8 8
      .github/workflows/publish_and_install.yml

+ 8 - 8
.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