fix: add NODE_AUTH_TOKEN and always-auth (#8163)
Some checks are pending
Canary / Prepare Version (push) Waiting to run
Canary / build-cli (push) Blocked by required conditions
Canary / Upload Install Script (push) Blocked by required conditions
Canary / bundle-desktop (push) Blocked by required conditions
Canary / bundle-desktop-intel (push) Blocked by required conditions
Canary / bundle-desktop-linux (push) Blocked by required conditions
Canary / bundle-desktop-windows (push) Blocked by required conditions
Canary / Release (push) Blocked by required conditions
CI / changes (push) Waiting to run
CI / Check Rust Code Format (push) Blocked by required conditions
CI / Build and Test Rust Project (push) Blocked by required conditions
CI / Build Rust Project on Windows (push) Blocked by required conditions
CI / Lint Rust Code (push) Blocked by required conditions
CI / Check OpenAPI Schema is Up-to-Date (push) Blocked by required conditions
CI / Test and Lint Electron Desktop App (push) Blocked by required conditions
Live Provider Tests / check-fork (push) Waiting to run
Live Provider Tests / changes (push) Blocked by required conditions
Live Provider Tests / Build Binary (push) Blocked by required conditions
Live Provider Tests / Smoke Tests (push) Blocked by required conditions
Live Provider Tests / Smoke Tests (Code Execution) (push) Blocked by required conditions
Live Provider Tests / Compaction Tests (push) Blocked by required conditions
Live Provider Tests / goose server HTTP integration tests (push) Blocked by required conditions
Publish Docker Image / docker (push) Waiting to run
Publish to npm / Generate ACP Schema (push) Waiting to run
Publish to npm / Build goose CLI (darwin-arm64) (push) Waiting to run
Publish to npm / Build goose CLI (darwin-x64) (push) Waiting to run
Publish to npm / Build goose CLI (linux-arm64) (push) Waiting to run
Publish to npm / Build goose CLI (linux-x64) (push) Waiting to run
Publish to npm / Release to npm (push) Blocked by required conditions
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run

This commit is contained in:
Alex Hancock 2026-03-30 09:30:56 -04:00 committed by GitHub
parent 73b542c388
commit 074f8312b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,6 +205,7 @@ jobs:
with:
node-version: '24.10.0'
registry-url: 'https://registry.npmjs.org'
always-auth: true
- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4
@ -298,6 +299,14 @@ jobs:
} >> "$GITHUB_STEP_SUMMARY"
fi
- name: Configure npm authentication
if: inputs.dry-run != true && github.ref == 'refs/heads/main'
run: |
cd ui
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Publish to npm
if: inputs.dry-run != true && github.ref == 'refs/heads/main'
run: |