diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index cdfa635c..53c8a2cb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -13,6 +13,9 @@ on: required: false default: 'false' +env: + PUPPETEER_SKIP_DOWNLOAD: "true" + concurrency: group: ${{ github.workflow }}-${{ (github.ref_type == 'tag' && !contains(github.ref_name, '-')) && 'prod' || (github.ref_name == 'main' && 'testing' || github.ref_name) }} cancel-in-progress: true @@ -467,8 +470,14 @@ jobs: 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 apt-get update apt-get install -y gnupg wget ca-certificates @@ -554,8 +563,14 @@ jobs: 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 apt-get update apt-get install -y gnupg wget ca-certificates @@ -641,8 +656,14 @@ jobs: 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 apt-get update apt-get install -y gnupg wget ca-certificates