Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -22,8 +22,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup npm for Verdaccio
|
- name: Setup npm for Verdaccio
|
||||||
run: |
|
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 registry http://verdaccio:4873/
|
||||||
npm config set //verdaccio:4873/:_authToken ${{ secrets.NPM_TOKEN }}
|
npm config set //verdaccio:4873/:_auth "$AUTH_B64"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm i --registry http://verdaccio:4873/
|
run: npm i --registry http://verdaccio:4873/
|
||||||
|
|||||||
@@ -4,3 +4,4 @@ storybook-static/
|
|||||||
coverage/
|
coverage/
|
||||||
*.log
|
*.log
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.npmrc
|
||||||
|
|||||||
Reference in New Issue
Block a user