From 151c98c884a44336681ab897e89d2fccd0a835c4 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 25 Apr 2026 18:24:29 +0200 Subject: [PATCH] ci: minimize prepare job for debugging --- .../workflows/quality-assurance-template.yml | 42 +------------------ 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/.gitea/workflows/quality-assurance-template.yml b/.gitea/workflows/quality-assurance-template.yml index 4982a34..f088462 100644 --- a/.gitea/workflows/quality-assurance-template.yml +++ b/.gitea/workflows/quality-assurance-template.yml @@ -34,46 +34,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - name: Setup pnpm - uses: pnpm/action-setup@v3 - with: - version: 10 - - name: ๐Ÿ” Registry Auth - run: | - REGISTRY="${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" - echo "@mintel:registry=https://$REGISTRY" > .npmrc - echo "//$REGISTRY/:_authToken=${{ secrets.NPM_TOKEN || secrets.GITEA_PAT || secrets.MINTEL_PRIVATE_TOKEN }}" >> .npmrc - - name: ๐Ÿงน Wipe Workspace - run: | - rm -rf .next .turbo node_modules || true - pnpm store prune || true - - name: ๐Ÿ” Diagnostics - run: | - echo "๐Ÿ‘ค User: $(id)" - echo "๐Ÿ“‚ Directory: $(pwd)" - echo "๐Ÿ“‚ Disk Space:" - df -h - echo "๐ŸŒ Network Check:" - curl -I https://npm.infra.mintel.me || echo "โŒ Cannot reach registry" - echo "๐Ÿ“„ .npmrc (sanitized):" - [ -f .npmrc ] && sed 's/:_authToken=.*/:_authToken=*** /' .npmrc || echo "No .npmrc" - - name: Install dependencies - run: | - rm -rf .next .turbo node_modules || true - pnpm store prune - pnpm install --no-frozen-lockfile --reporter=silent || pnpm install --no-frozen-lockfile - - name: ๐Ÿ“ฆ Archive dependencies - uses: actions/upload-artifact@v4 - with: - name: node_modules - path: | - node_modules - .npmrc - retention-days: 1 + - name: Debug Output + run: echo "๐Ÿš€ Prepare job started" static: name: ๐Ÿ” Static Analysis