diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4e377ee..b8b6415 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 612c939..673e7d7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/ coverage/ *.log .DS_Store +.npmrc