From 6fbf58d59091d758f4d583a5a5a32f45079383d6 Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Tue, 12 May 2026 17:52:20 -0400 Subject: [PATCH] ci: keep package manager cache failures non-blocking --- .github/workflows/ci.yml | 4 ++++ .github/workflows/reusable-test.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f151ab6f..c689593e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,7 @@ jobs: - name: Cache npm if: matrix.pm == 'npm' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -94,6 +95,7 @@ jobs: - name: Cache pnpm if: matrix.pm == 'pnpm' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.pnpm-cache-dir.outputs.dir }} @@ -115,6 +117,7 @@ jobs: - name: Cache yarn if: matrix.pm == 'yarn' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} @@ -124,6 +127,7 @@ jobs: - name: Cache bun if: matrix.pm == 'bun' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ~/.bun/install/cache diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 615acef0..5444c17b 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -67,6 +67,7 @@ jobs: - name: Cache npm if: inputs.package-manager == 'npm' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.npm-cache-dir.outputs.dir }} @@ -84,6 +85,7 @@ jobs: - name: Cache pnpm if: inputs.package-manager == 'pnpm' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.pnpm-cache-dir.outputs.dir }} @@ -105,6 +107,7 @@ jobs: - name: Cache yarn if: inputs.package-manager == 'yarn' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ${{ steps.yarn-cache-dir.outputs.dir }} @@ -114,6 +117,7 @@ jobs: - name: Cache bun if: inputs.package-manager == 'bun' + continue-on-error: true uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 with: path: ~/.bun/install/cache