2323 - name : Setup Bun
2424 uses : oven-sh/setup-bun@v2
2525 with :
26- bun-version : latest
26+ bun-version : 1.3.11
2727
2828 - name : Verify Bun runtime
2929 run : bun --version
@@ -33,41 +33,26 @@ jobs:
3333 with :
3434 node-version : " 20.x"
3535
36- - name : Install pnpm
37- run : npm install -g pnpm@9
38-
39- - name : Get pnpm store directory
40- shell : bash
41- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
42-
43- - name : Setup pnpm cache
44- uses : actions/cache@v4
45- with :
46- path : ${{ env.STORE_PATH }}
47- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
48- restore-keys : |
49- ${{ runner.os }}-pnpm-store-
50-
5136 - name : Install dependencies
52- run : pnpm install --frozen-lockfile
37+ run : bun install --frozen-lockfile
5338
5439 - name : Build CLI package
55- run : pnpm build:cli
40+ run : bun run build:cli
5641
5742 - name : Run CLI type check
58- run : pnpm type-check
43+ run : bun run type-check
5944
6045 - name : Run web type check
61- run : pnpm type-check:web
46+ run : bun run type-check:web
6247
6348 - name : Run web session lint
64- run : pnpm lint:web
49+ run : bun run lint:web
6550
6651 - name : Run web regression tests
67- run : pnpm test:web
52+ run : bun run test:web
6853
6954 - name : Build all packages
70- run : pnpm build
55+ run : bun run build
7156
7257 core-headless-gate :
7358 name : Headless Core Gate
8065 - name : Setup Bun
8166 uses : oven-sh/setup-bun@v2
8267 with :
83- bun-version : latest
68+ bun-version : 1.3.11
8469
8570 - name : Verify Bun runtime
8671 run : bun --version
@@ -90,29 +75,14 @@ jobs:
9075 with :
9176 node-version : " 20.x"
9277
93- - name : Install pnpm
94- run : npm install -g pnpm@9
95-
96- - name : Get pnpm store directory
97- shell : bash
98- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
99-
100- - name : Setup pnpm cache
101- uses : actions/cache@v4
102- with :
103- path : ${{ env.STORE_PATH }}
104- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
105- restore-keys : |
106- ${{ runner.os }}-pnpm-store-
107-
10878 - name : Install dependencies
109- run : pnpm install --frozen-lockfile
79+ run : bun install --frozen-lockfile
11080
11181 - name : Build CLI package
112- run : pnpm build:cli
82+ run : bun run build:cli
11383
11484 - name : Run headless core regression suite
115- run : pnpm test:headless-core
85+ run : bun run test:headless-core
11686
11787 coverage :
11888 name : Test Coverage
12696 - name : Setup Bun
12797 uses : oven-sh/setup-bun@v2
12898 with :
129- bun-version : latest
99+ bun-version : 1.3.11
130100
131101 - name : Verify Bun runtime
132102 run : bun --version
@@ -136,29 +106,14 @@ jobs:
136106 with :
137107 node-version : " 20.x"
138108
139- - name : Install pnpm
140- run : npm install -g pnpm@9
141-
142- - name : Get pnpm store directory
143- shell : bash
144- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
145-
146- - name : Setup pnpm cache
147- uses : actions/cache@v4
148- with :
149- path : ${{ env.STORE_PATH }}
150- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
151- restore-keys : |
152- ${{ runner.os }}-pnpm-store-
153-
154109 - name : Install dependencies
155- run : pnpm install --frozen-lockfile
110+ run : bun install --frozen-lockfile
156111
157112 - name : Build CLI package
158- run : pnpm build:cli
113+ run : bun run build:cli
159114
160115 - name : Run tests with coverage
161- run : pnpm --filter blade-code test:coverage
116+ run : bun run --filter blade-code test:coverage
162117
163118 - name : Upload coverage to Codecov
164119 uses : codecov/codecov-action@v4
@@ -189,7 +144,7 @@ jobs:
189144 - name : Setup Bun
190145 uses : oven-sh/setup-bun@v2
191146 with :
192- bun-version : latest
147+ bun-version : 1.3.11
193148
194149 - name : Verify Bun runtime
195150 run : bun --version
@@ -199,32 +154,17 @@ jobs:
199154 with :
200155 node-version : " 20.x"
201156
202- - name : Install pnpm
203- run : npm install -g pnpm@9
204-
205- - name : Get pnpm store directory
206- shell : bash
207- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
208-
209- - name : Setup pnpm cache
210- uses : actions/cache@v4
211- with :
212- path : ${{ env.STORE_PATH }}
213- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
214- restore-keys : |
215- ${{ runner.os }}-pnpm-store-
216-
217157 - name : Install dependencies
218- run : pnpm install --frozen-lockfile
158+ run : bun install --frozen-lockfile
219159
220160 - name : Build CLI package
221- run : pnpm build:cli
161+ run : bun run build:cli
222162
223163 - name : Run security tests
224- run : pnpm --filter blade-code test:security
164+ run : bun run --filter blade-code test:security
225165
226- - name : Run npm audit
227- run : pnpm audit --audit-level=high || true
166+ - name : Run Bun audit
167+ run : bun audit --audit-level=high || true
228168
229169 cross-platform-smoke :
230170 name : Cross Platform Smoke (${{ matrix.os }})
@@ -240,7 +180,7 @@ jobs:
240180 - name : Setup Bun
241181 uses : oven-sh/setup-bun@v2
242182 with :
243- bun-version : latest
183+ bun-version : 1.3.11
244184
245185 - name : Verify Bun runtime
246186 run : bun --version
@@ -250,29 +190,14 @@ jobs:
250190 with :
251191 node-version : " 20.x"
252192
253- - name : Install pnpm
254- run : npm install -g pnpm@9
255-
256- - name : Get pnpm store directory
257- shell : bash
258- run : echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
259-
260- - name : Setup pnpm cache
261- uses : actions/cache@v4
262- with :
263- path : ${{ env.STORE_PATH }}
264- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
265- restore-keys : |
266- ${{ runner.os }}-pnpm-store-
267-
268193 - name : Install dependencies
269- run : pnpm install --frozen-lockfile
194+ run : bun install --frozen-lockfile
270195
271196 - name : Build all packages
272- run : pnpm build
197+ run : bun run build
273198
274199 - name : Test CLI help
275- run : pnpm --filter blade-code start -- --help
200+ run : bun run --filter blade-code start -- --help
276201
277202 - name : Test headless help
278- run : pnpm --filter blade-code start -- --headless /help
203+ run : bun run --filter blade-code start -- --headless /help
0 commit comments