diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1657a54..d37f688 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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/ diff --git a/.gitignore b/.gitignore index fb60ea2..92548e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ storybook-static/ coverage/ *.log .DS_Store +.npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 5fe0511..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -registry=http://verdaccio:4873/