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
-6
View File
@@ -145,18 +145,12 @@ jobs:
node-version: '20'
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
run: cd frontend && npm ci
- name: Build frontend
run: cd frontend && npm run build
- name: Run frontend tests
run: cd frontend && npm run test -- --run
- name: Clean up npmrc
if: always() && secrets.NPM_TOKEN != ''
run: rm -f ~/.npmrc
- name: Upload frontend build artifacts
uses: actions/[email protected]
with: