The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
ci: restore dependency caches without saving (#1934)
Affaan Mustafac2c54e7c0b84
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 2a7c021a4..af2bf7f50 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -75,10 +75,10 @@ jobs:shell: bashrun: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT- - name: Cache npm+ - name: Restore npm cacheif: matrix.pm == 'npm'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.npm-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.json') }}@@ -93,10 +93,10 @@ jobs:COREPACK_ENABLE_STRICT: '0'run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT- - name: Cache pnpm+ - name: Restore pnpm cacheif: matrix.pm == 'pnpm'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.pnpm-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ matrix.node }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}@@ -115,20 +115,20 @@ jobs:echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUTfi- - name: Cache yarn+ - name: Restore yarn cacheif: matrix.pm == 'yarn'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.yarn-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}restore-keys: |${{ runner.os }}-node-${{ matrix.node }}-yarn-- - name: Cache bun+ - name: Restore bun cacheif: matrix.pm == 'bun'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ~/.bun/install/cachekey: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.ymlindex 5444c17bd..6f98cbebe 100644--- a/.github/workflows/reusable-test.yml+++ b/.github/workflows/reusable-test.yml@@ -65,10 +65,10 @@ jobs:shell: bashrun: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT- - name: Cache npm+ - name: Restore npm cacheif: inputs.package-manager == 'npm'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.npm-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ inputs.node-version }}-npm-${{ hashFiles('**/package-lock.json') }}@@ -83,10 +83,10 @@ jobs:COREPACK_ENABLE_STRICT: '0'run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT- - name: Cache pnpm+ - name: Restore pnpm cacheif: inputs.package-manager == 'pnpm'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.pnpm-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ inputs.node-version }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}@@ -105,20 +105,20 @@ jobs:echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUTfi- - name: Cache yarn+ - name: Restore yarn cacheif: inputs.package-manager == 'yarn'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ${{ steps.yarn-cache-dir.outputs.dir }}key: ${{ runner.os }}-node-${{ inputs.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}restore-keys: |${{ runner.os }}-node-${{ inputs.node-version }}-yarn-- - name: Cache bun+ - name: Restore bun cacheif: inputs.package-manager == 'bun'continue-on-error: true- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5+ uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5with:path: ~/.bun/install/cachekey: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}