Skip to content

Commit ba49f43

Browse files
committed
fix?: ci
1 parent 4bd46e2 commit ba49f43

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515

16+
- uses: actions/cache@v4
17+
with:
18+
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
19+
restore-keys: pnpm-
20+
path: |
21+
~/.pnpm-store
22+
~/.cache/pnpm
23+
**/node_modules
24+
1625
- uses: pnpm/action-setup@v4
1726
with:
1827
version: 10
@@ -54,6 +63,15 @@ jobs:
5463
steps:
5564
- uses: actions/checkout@v4
5665

66+
- uses: actions/cache@v4
67+
with:
68+
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
69+
restore-keys: pnpm-
70+
path: |
71+
~/.pnpm-store
72+
~/.cache/pnpm
73+
**/node_modules
74+
5775
- uses: pnpm/action-setup@v4
5876
with:
5977
version: 10
@@ -81,6 +99,25 @@ jobs:
8199
with:
82100
fetch-depth: 0
83101

102+
- uses: actions/cache@v4
103+
with:
104+
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
105+
restore-keys: pnpm-
106+
path: |
107+
~/.pnpm-store
108+
~/.cache/pnpm
109+
**/node_modules
110+
111+
- uses: pnpm/action-setup@v4
112+
with:
113+
version: 10
114+
run_install: false
115+
116+
- uses: oven-sh/setup-bun@v2
117+
118+
- name: Install dependencies
119+
run: pnpm install
120+
84121
- uses: actions/download-artifact@v5
85122
with:
86123
path: dist

0 commit comments

Comments
 (0)