From 2fbcce099082353eb90658694806a082285b9a90 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 23 Feb 2026 13:04:06 +0100 Subject: [PATCH] ci: permanently remove cache configs instead of commenting out --- .gitea/workflows/ci.yml | 24 ------------------------ .gitea/workflows/deploy.yml | 33 +++------------------------------ 2 files changed, 3 insertions(+), 54 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3723fc30..16313e17 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,25 +16,10 @@ jobs: version: 10 run_install: false - # - name: Get pnpm store directory - # id: pnpm-cache - # shell: bash - # run: | - # echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT - - # - name: Setup pnpm cache - # uses: actions/cache@v4 - # with: - # path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - # key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - # restore-keys: | - # ${{ runner.os }}-pnpm-store- - - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporarily disabled due to runner cache timeouts - name: 🔐 Configure Private Registry run: | @@ -47,15 +32,6 @@ jobs: env: NPM_TOKEN: ${{ secrets.REGISTRY_PASS }} - # - name: Setup Turbo cache - # uses: actions/cache@v4 - # with: - # path: .turbo - # key: ${{ runner.os }}-turbo-global-${{ github.sha }} - # restore-keys: | - # ${{ runner.os }}-turbo-global- - # ${{ runner.os }}-turbo- - - name: 🧪 QA Checks env: TURBO_TELEMETRY_DISABLED: "1" diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1d764e29..a5c52495 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -165,21 +165,13 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache + - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - # - name: Setup Turbo cache - # uses: actions/cache@v4 - # with: - # path: .turbo - # key: ${{ runner.os }}-turbo-global-${{ github.sha }} - # restore-keys: | - # ${{ runner.os }}-turbo-global- - # ${{ runner.os }}-turbo- - name: 🔒 Security Audit run: pnpm audit --audit-level high @@ -441,18 +433,13 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache + - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - # - name: Setup APT Cache - # uses: actions/cache@v4 - # with: - # path: /var/cache/apt/archives - # key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} - name: 🔍 Install Chromium (Native & ARM64) run: | rm -f /etc/apt/apt.conf.d/docker-clean @@ -513,29 +500,17 @@ jobs: uses: pnpm/action-setup@v3 with: version: 10 - # - name: Setup Puppeteer cache - # uses: actions/cache@v4 - # with: - # path: ~/.cache/puppeteer - # key: ${{ runner.os }}-puppeteer-${{ hashFiles('**/pnpm-lock.yaml') }} - # restore-keys: | - # ${{ runner.os }}-puppeteer- - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache + - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - # - name: Setup APT Cache - # uses: actions/cache@v4 - # with: - # path: /var/cache/apt/archives - # key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} - name: 🔍 Install Chromium (Native & ARM64) run: | rm -f /etc/apt/apt.conf.d/docker-clean @@ -600,7 +575,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc @@ -638,7 +612,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔔 Gotify run: | STATUS="${{ needs.deploy.result }}"