Skip to content

Commit 9319ebf

Browse files
feat: correct cache hash
1 parent febeea9 commit 9319ebf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
mcp-ui/*/dist/*
3636
packages/*/dist/*
3737
tools/*/dist/*
38-
key: ${{ runner.os }}-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/') }}
38+
key: ${{ runner.os }}-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/', '**/scripts/', '**/config/') }}
3939

4040
# @leafygreen-ui/icon has an additional built-in cache layer
4141
- uses: actions/cache/restore@v4

.github/workflows/react17.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
mcp-ui/*/dist/*
3636
packages/*/dist/*
3737
tools/*/dist/*
38-
key: ${{ runner.os }}-REACT17-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/') }}
38+
key: ${{ runner.os }}-REACT17-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/', '**/scripts/', '**/config/') }}
3939

4040
- name: Setup Node 18
4141
uses: actions/setup-node@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
tools/*/dist/*
4343
tools/*/tsdoc.json
4444
tools/*/stories.js
45-
key: ${{ runner.os }}-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/') }}
45+
key: ${{ runner.os }}-build-cache-${{ hashFiles('package.json', 'pnpm-lock.yaml', '**/src/', '**/scripts/', '**/config/') }}
4646

4747
# Only setup & build if there was no build cache hit
4848
- name: Use Node 18

0 commit comments

Comments
 (0)