Skip to content

Commit cc4289f

Browse files
test(bun-compress): pre and post compressions
1 parent 1027063 commit cc4289f

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/actions/what-changed/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as core from '@actions/core'
44
import * as exec from '@actions/exec'
55

6-
const exclude = new Set(['@hono/bun-transpiler'])
6+
const exclude = new Set(['@hono/bun-compiler', '@hono/bun-transpiler'])
77
const since = core.getInput('since')
88

99
const workspaces = await exec.getExecOutput('yarn workspaces list', [
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci-bun-compiler
2+
on:
3+
push:
4+
branches: [main]
5+
paths:
6+
- 'packages/bun-compiler/**'
7+
pull_request:
8+
branches: ['*']
9+
paths:
10+
- 'packages/bun-compiler/**'
11+
12+
jobs:
13+
ci:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
bun-version: [1.3.2, 1.3.3]
18+
steps:
19+
- uses: actions/checkout@v6
20+
- uses: oven-sh/setup-bun@v2
21+
with:
22+
bun-version: ${{ matrix.bun-version }}
23+
- run: yarn workspaces focus hono-middleware @hono/bun-compiler
24+
- run: yarn turbo --filter @hono/bun-compiler build
25+
- run: bun test packages/bun-compiler --coverage --coverage-reporter lcov
26+
- uses: codecov/codecov-action@v5
27+
with:
28+
fail_ci_if_error: true
29+
directory: ./coverage
30+
flags: bun-compiler

0 commit comments

Comments
 (0)