mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
chore(ci): enable lcov reporter for Bun test (#3022)
This commit is contained in:
parent
f7a6b06975
commit
1bbaf51279
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: '1.0.25'
|
bun-version: '1.1.16'
|
||||||
- run: bun install
|
- run: bun install
|
||||||
- run: bun run format
|
- run: bun run format
|
||||||
- run: bun run lint
|
- run: bun run lint
|
||||||
@ -92,9 +92,12 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: oven-sh/setup-bun@v1
|
- uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: '1.0.25'
|
bun-version: '1.1.16'
|
||||||
- run: bun run test:bun
|
- run: bun run test:bun
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: coverage-bun
|
||||||
|
path: coverage/
|
||||||
fastly:
|
fastly:
|
||||||
name: 'Fastly Compute'
|
name: 'Fastly Compute'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -1,2 +1,7 @@
|
|||||||
[install.lockfile]
|
[install.lockfile]
|
||||||
print = "yarn"
|
print = "yarn"
|
||||||
|
|
||||||
|
[test]
|
||||||
|
coverage = true
|
||||||
|
coverageReporter = ["text", "lcov"]
|
||||||
|
coverageDir = "coverage/raw/bun"
|
||||||
|
Loading…
Reference in New Issue
Block a user