Skip to content

Commit

Permalink
fix: cache key for sb build in GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavniran committed Jul 30, 2024
1 parent a8abf1e commit abff04a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
uses: actions/cache@v4
with:
path: .sb-static
key: sb-static-${{ runner.os }}-${{ hashFiles('.sb-static/*.bundle.js') }}
key: sb-static-${{ hashFiles('lerna.json') }}-${{ github.run_id }}

lft:
name: Lint, Flow, Types
Expand Down Expand Up @@ -154,8 +154,8 @@ jobs:
uses: actions/cache@v4
with:
path: .sb-static
key: sb-static-${{ runner.os }}-
restore-keys: sb-static-${{ runner.os }}-
key: sb-static-${{ hashFiles('lerna.json') }}-${{ github.run_id }}
restore-keys: sb-static-${{ hashFiles('lerna.json') }}-
- name: Restore Bundle Cache
uses: actions/cache@v4
with:
Expand Down

0 comments on commit abff04a

Please sign in to comment.