Skip to content

Commit 4793ff6

Browse files
committed
fix github actions cache
1 parent b36d13d commit 4793ff6

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,19 @@ jobs:
2828
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
2929
fetch-depth: 0
3030

31-
- name: Cache JS dependencies
32-
uses: actions/cache@v4
33-
with:
34-
path: |
35-
node_modules/
36-
~/.bun/
37-
.turbo/
38-
key: turbo-${{ runner.os }}-bun-${{ hashFiles('turbo.json', '**/bun.lock') }}
39-
restore-keys: |
40-
turbo-${{ runner.os }}-bun-
41-
42-
- uses: actions/setup-node@v4
43-
with:
44-
node-version: 22
45-
46-
- name: Install Bun
31+
- name: Setup Bun
4732
uses: oven-sh/setup-bun@v2
4833
with:
4934
bun-version: latest
5035

36+
- name: Cache dependencies
37+
uses: actions/cache@v4
38+
with:
39+
path: ~/.bun/install/cache
40+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
41+
restore-keys: |
42+
${{ runner.os }}-bun-
43+
5144
- name: Install Dependencies
5245
run: bun install --frozen-lockfile
5346

0 commit comments

Comments
 (0)