Skip to content

Commit

Permalink
build: optimize the caches
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Jan 2, 2025
1 parent f5ce5b9 commit 4209679
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Load build cache
uses: actions/[email protected]
id: cache
with:
path: |
.turbo
./demos/node_modules/.vite
/home/runner/.cache/Cypress
key: ${{ runner.os }}-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-
- name: Install dependencies
id: install-dependencies
run: pnpm install
Expand Down Expand Up @@ -108,9 +96,9 @@ jobs:
.turbo
./demos/node_modules/.vite
/home/runner/.cache/Cypress
key: ${{ runner.os }}-build-${{ github.sha }}
key: ${{ runner.os }}-build-${{ matrix.test-spec.name }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-
${{ runner.os }}-build-${{ matrix.test-spec.name }}-
- name: Install pnpm
uses: pnpm/action-setup@v4
Expand Down

0 comments on commit 4209679

Please sign in to comment.