Revert "npm login" (#4299)

Reverts Stirling-Tools/Stirling-PDF#4296
This commit is contained in:
Anthony Stirling
2025-08-26 14:06:29 +01:00
committed by GitHub
parent 4aac124e76
commit 9b8091a630
7 changed files with 5 additions and 49 deletions
@@ -51,10 +51,6 @@ jobs:
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Configure npm with token (if available)
if: secrets.NPM_TOKEN != ''
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Install frontend dependencies
working-directory: frontend
run: npm ci
@@ -62,10 +58,6 @@ jobs:
- name: Generate frontend license report
working-directory: frontend
run: npm run generate-licenses
- name: Clean up npmrc
if: always() && secrets.NPM_TOKEN != ''
run: rm -f ~/.npmrc
- name: Check for license warnings
run: |