Skip to content

Commit

Permalink
less caching
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Jan 23, 2025
1 parent 4e49208 commit edc1442
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
key: ${{ github.sha }}-${{ matrix.os }}-ci-cache
path: |
node_modules
.turbo
- name: Checkout Repo
if: ${{ steps.cache-repo.outputs.cache-hit != 'true' }}
Expand Down Expand Up @@ -51,14 +50,19 @@ jobs:
runs-on: ubuntu-latest
needs: ["build"]
steps:
- name: Checkout Repo
if: ${{ steps.cache-repo.outputs.cache-hit != 'true' }}
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache repository
uses: actions/cache@v3
id: cache-repo
with:
key: ${{ github.sha }}-${{ matrix.os }}-ci-cache
path: |
node_modules
.turbo
- name: Check for errors
run: pnpm run check
Expand All @@ -80,14 +84,19 @@ jobs:
os: [windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
if: ${{ steps.cache-repo.outputs.cache-hit != 'true' }}
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache repository
uses: actions/cache@v3
id: cache-repo
with:
key: ${{ github.sha }}-${{ matrix.os }}-ci-cache
path: |
node_modules
.turbo
- name: Check for errors
run: pnpm run check
Expand Down

0 comments on commit edc1442

Please sign in to comment.