fix(ci): Verdaccio 改用 Basic Auth secrets
Node.js Build / build (push) Has been skipped

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-07 00:48:27 +00:00
parent ccd16bf956
commit 31df060db1
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -22,8 +22,9 @@ jobs:
- name: Setup npm for Verdaccio
run: |
AUTH_B64=$(printf '%s' "${{ secrets.VERDACCIO_USER }}:${{ secrets.VERDACCIO_PASSWORD }}" | base64 | tr -d '\n')
npm config set registry http://verdaccio:4873/
npm config set //verdaccio:4873/:_authToken ${{ secrets.NPM_TOKEN }}
npm config set //verdaccio:4873/:_auth "$AUTH_B64"
- name: Install dependencies
run: npm i --registry http://verdaccio:4873/