From 3e50916132c0cc62289e5e1b786dfed248f90705 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Sun, 17 May 2026 04:59:37 -0700 Subject: [PATCH] revert: remove actions/cache - runner v0.3.1 doesn't set ACTIONS_CACHE_URL in Docker mode Keeping Docker layer caching (--cache-from/--cache-to) as the effective optimization. actions/cache needs runner update. --- .gitea/workflows/pr.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index fae29b4..aad0ed6 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -22,21 +22,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Compute dependency cache key - id: npm-key - run: | - echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT - - - name: Cache node_modules - uses: actions/cache@v3 - with: - path: | - node_modules - ~/.npm - key: npm-${{ runner.os }}-${{ steps.npm-key.outputs.hash }} - restore-keys: | - npm-${{ runner.os }}- - - name: Install dependencies run: npm ci --legacy-peer-deps @@ -61,21 +46,6 @@ jobs: # Required for acceptance tests - they import prisma via @/ path alias # and @cucumber/cucumber for cucumber-e2e tests - - name: Compute dependency cache key - id: npm-key - run: | - echo "hash=$(sha256sum package-lock.json | cut -d' ' -f1)" >> $GITHUB_OUTPUT - - - name: Cache node_modules - uses: actions/cache@v3 - with: - path: | - node_modules - ~/.npm - key: npm-${{ runner.os }}-${{ steps.npm-key.outputs.hash }} - restore-keys: | - npm-${{ runner.os }}- - - name: Install dependencies run: npm ci --legacy-peer-deps