0
0
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:
TATSUNO “Taz” Yasuhiro 2024-06-24 05:39:29 +09:00 committed by GitHub
parent f7a6b06975
commit 1bbaf51279
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -48,7 +48,7 @@ jobs:
node-version: '20.x'
- uses: oven-sh/setup-bun@v1
with:
bun-version: '1.0.25'
bun-version: '1.1.16'
- run: bun install
- run: bun run format
- run: bun run lint
@ -92,9 +92,12 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: '1.0.25'
bun-version: '1.1.16'
- run: bun run test:bun
- uses: actions/upload-artifact@v4
with:
name: coverage-bun
path: coverage/
fastly:
name: 'Fastly Compute'
runs-on: ubuntu-latest

View File

@ -1,2 +1,7 @@
[install.lockfile]
print = "yarn"
print = "yarn"
[test]
coverage = true
coverageReporter = ["text", "lcov"]
coverageDir = "coverage/raw/bun"