From ef6bc4be212898d4c89c3f1622beb69f1ec6ef13 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Tue, 24 Mar 2026 19:12:35 +0100 Subject: [PATCH] fix: add npm registry auth token for UI build in CI The Build UI step ran npm ci without authenticating to the Gitea npm registry, causing @cameleer/design-system to fail to resolve. Add REGISTRY_TOKEN to .npmrc before npm ci. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 11806285..3725f1e0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -53,8 +53,11 @@ jobs: - name: Build UI working-directory: ui run: | + echo '//gitea.siegeln.net/api/packages/cameleer/npm/:_authToken=${REGISTRY_TOKEN}' >> .npmrc npm ci npm run build + env: + REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} - name: Build and Test run: mvn clean verify -DskipITs --batch-mode