From b9fd583ac4d33dad20e7b6348f75cc64885713e8 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 11 Feb 2026 00:29:10 +0100 Subject: [PATCH] chore: fix pipeline hang by disabling broken caching and using corepack --- .gitea/workflows/pipeline.yml | 52 ++++++++++---------------------- packages/next-utils/package.json | 2 +- 2 files changed, 17 insertions(+), 37 deletions(-) diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 18435e7..16afa35 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -49,18 +49,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Environment - uses: pnpm/action-setup@v4 - with: - version: 10 - run_install: | - - recursive: true - args: [--frozen-lockfile, --prefer-offline] - name: Set up Node.js uses: actions/setup-node@v4 with: node_version: 20 - cache: 'pnpm' + - name: Enable pnpm + run: corepack enable && corepack prepare pnpm@10.2.0 --activate + - name: Install dependencies + run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color - name: Lint run: pnpm lint @@ -76,18 +72,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Environment - uses: pnpm/action-setup@v4 - with: - version: 10 - run_install: | - - recursive: true - args: [--frozen-lockfile, --prefer-offline] - name: Set up Node.js uses: actions/setup-node@v4 with: node_version: 20 - cache: 'pnpm' + - name: Enable pnpm + run: corepack enable && corepack prepare pnpm@10.2.0 --activate + - name: Install dependencies + run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color - name: Test run: pnpm test @@ -103,18 +95,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Environment - uses: pnpm/action-setup@v4 - with: - version: 10 - run_install: | - - recursive: true - args: [--frozen-lockfile, --prefer-offline] - name: Set up Node.js uses: actions/setup-node@v4 with: node_version: 20 - cache: 'pnpm' + - name: Enable pnpm + run: corepack enable && corepack prepare pnpm@10.2.0 --activate + - name: Install dependencies + run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color - name: Build run: pnpm build @@ -133,24 +121,16 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set up Environment - uses: pnpm/action-setup@v4 - with: - version: 10 - run_install: | - - recursive: true - args: [--frozen-lockfile, --prefer-offline] - - name: Set up Node.js uses: actions/setup-node@v4 with: node_version: 20 - cache: 'pnpm' - + - name: Enable pnpm + run: corepack enable && corepack prepare pnpm@10.2.0 --activate + - name: Install dependencies + run: pnpm install --frozen-lockfile --prefer-offline --ignore-scripts --no-color - name: 🏷️ Sync Versions (if Tagged) run: pnpm sync-versions - - name: 🏷️ Release Packages (Tag-Driven) run: | echo "🏷️ Tag detected [${{ github.ref_name }}], performing sync release..." diff --git a/packages/next-utils/package.json b/packages/next-utils/package.json index 547afb7..2356d6d 100644 --- a/packages/next-utils/package.json +++ b/packages/next-utils/package.json @@ -1,6 +1,6 @@ { "name": "@mintel/next-utils", - "version": "1.7.5", + "version": "1.7.7", "publishConfig": { "access": "public", "registry": "https://npm.infra.mintel.me"