diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 99dbb6cf8..f2925fd11 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -81,8 +81,15 @@ jobs: registry-url: https://registry.npmjs.org cache: 'npm' - - name: Install gsd-pi@dev globally - run: npm install -g gsd-pi@dev + - name: Install gsd-pi@dev globally (with registry propagation retry) + run: | + for i in 1 2 3 4 5 6; do + npm install -g gsd-pi@dev && exit 0 + echo "Attempt $i failed — waiting 10s for npm registry propagation..." + sleep 10 + done + echo "Failed to install gsd-pi@dev after 6 attempts" + exit 1 - name: Run smoke tests (against installed binary) run: |