From 272d3eccbf7a98d15822d6224a26ffbcc35286e6 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 24 Apr 2026 12:12:18 +0200 Subject: [PATCH] chore: add qa-debug workflow --- .gitea/workflows/qa-debug.yml | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitea/workflows/qa-debug.yml diff --git a/.gitea/workflows/qa-debug.yml b/.gitea/workflows/qa-debug.yml new file mode 100644 index 0000000..60461a9 --- /dev/null +++ b/.gitea/workflows/qa-debug.yml @@ -0,0 +1,40 @@ +name: QA Debug + +on: + workflow_dispatch: + +jobs: + prepare: + name: ๐Ÿ—๏ธ Prepare & Install + runs-on: docker + container: + image: catthehacker/ubuntu:act-latest + steps: + - name: ๐Ÿงน Clean Runner Infrastructure + run: | + docker builder prune -f --filter "until=24h" || true + docker image prune -f --filter "until=24h" || true + docker system prune -f --volumes --filter "until=24h" || true + - 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 || 'git.infra.mintel.me/api/packages/mmintel/npm' }}" + echo "@mintel:registry=https://$REGISTRY" > .npmrc + TOKEN_REGISTRY=$(echo "$REGISTRY" | sed 's|https://||') + echo "//$TOKEN_REGISTRY/:_authToken=${{ secrets.REGISTRY_PASS || secrets.NPM_TOKEN }}" >> .npmrc + - name: ๐Ÿงน Wipe Workspace + run: | + rm -rf .next .turbo node_modules || true + pnpm store prune || true + - name: Install dependencies + run: | + pnpm install --frozen-lockfile